Passage: S3 bucket replication is configured to copy objects from one AWS Region to another. The requirement is that replicated objects preserve metadata, but the team also needs to guarantee that any object deleted in the source is eventually removed from the destination. Additionally, they want replication to cover new objects only and to avoid attempting to replicate objects that were uploaded before the replication rule was created. A developer proposes enabling standard replication and turning on versioning, but leaving delete replication disabled. Another developer suggests enabling delete markers replication and ensuring the bucket versioning status is correct before enabling replication. Which approach aligns best with the stated requirements?
Answer
Enable replication with delete marker replication and confirm versioning is enabled in both buckets before turning on replication
Explanation
Delete marker replication ensures deletions in the source are reflected in the destination, and correct versioning is required for replication to track object versions and delete markers reliably.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You need to validate JWTs issued by an external identity provider for multiple audiences and also must support key rotation without redeployments. How should the API validate tokens?
View question →
Passage:
View question →
You deploy a Step Functions workflow that integrates with Lambda and an external HTTP service. Some executions fail intermittently due to transient network errors. Which approach best improves reliability while preventing runaway retries?
View question →
A service publishes events to an SQS queue and also needs to persist processed results to DynamoDB. Occasionally, downstream consumers reprocess messages due to visibility timeouts. Which strategy most robustly prevents duplicate side effects?
View question →
A developer uses Amazon S3 to store user uploads. They must prevent public access, enable server-side encryption, and log all access to a designated prefix for compliance. Which configuration best satisfies these requirements?
View question →
In a Lambda function that processes API Gateway requests, which combination best ensures idempotent writes to DynamoDB when clients retry due to timeouts?
View question →