AWS Certified SysOps Administrator – Associate (legacy) — Question 622
When performing an audit on an S3 bucket, a SysOps Administrator discovered that Amazon CloudWatch reports that there are 12,345,678 objects in the bucket, whereas the AWS CLI reports that there are 98,765,432 objects in the same bucket.
Which Amazon S3 feature can the SysOps Administrator use to obtain the definitive answer to the number of objects in the bucket?
Answer options
- A. Amazon S3 analytics
- B. Amazon S3 inventory
- C. AWS Management Console
- D. Object tags
Correct answer: B
Explanation
Amazon S3 Inventory provides a scheduled, flat-file list of your objects and their metadata, making it the most reliable and definitive method to audit and count objects in large buckets. Other options, like Amazon S3 analytics, are meant for analyzing storage access patterns, while the AWS Management Console cannot efficiently display or count tens of millions of objects.