Correct option:
Use Amazon S3 Inventory reports to list the objects that have failed replication in the S3 buckets
Amazon S3 Inventory is one of the tools Amazon S3 provides to help manage your storage. You can use it to audit and report on the replication and encryption status of your objects for business, compliance, and regulatory needs. You can also simplify and speed up business workflows and big data jobs using Amazon S3 inventory, which provides a scheduled alternative to the Amazon S3 synchronous List API operation.
Amazon S3 Inventory provides comma-separated values (CSV), Apache optimized row columnar (ORC) or Apache Parquet (Parquet) output files that list your objects and their corresponding metadata on a daily or weekly basis for an S3 bucket or a shared prefix (that is, objects that have names that begin with a common string). If configured on a weekly basis, a report is generated every Sunday (UTC timezone) after the initial report.
You can configure multiple inventory lists for a bucket. You can configure what object metadata to include in the inventory, whether to list all object versions or only current versions, where to store the inventory list file output, and whether to generate the inventory on a daily or weekly basis. You can also specify that the inventory list file is encrypted.
The inventory list contains a list of the objects in an S3 bucket and the metadata for each listed object.
Metadata list that S3 Inventory has for each listed object in S3 bucket:
https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html
Incorrect options:
Use Amazon S3 Storage Lens to report all the objects that failed replication process in the S3 buckets - Amazon S3 Storage Lens aggregates your usage and activity metrics and displays the information in an interactive dashboard on the Amazon S3 console or through a metrics data export that can be downloaded in CSV or Parquet format. This is the wrong choice because we are not looking for usage metrics.
Use Amazon S3 Select to list the objects that have failed replication in the S3 buckets - With S3 Select, you can use a simple SQL expression to return only the data from the store you’re interested in, instead of retrieving the entire object. You cannot use S3 Select to list the objects that have failed replication in the S3 buckets.
Configure Amazon Simple Queue Service (Amazon SQS) queue against the CloudWatch metrics for S3 replication. You can use custom code to aggregate these messages to get the final list of objects that failed replication - CloudWatch metrics for replication are only available if S3 Replication Time Control (S3 RTC) is enabled. And metrics are generated for action on each object in the S3 bucket. Since we need an aggregated list, we choose the Amazon S3 Inventory that is tailor-made for such requirements.
References:
https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html
https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html