Your architecture uses Amazon S3 as the system of record. You need to support object versioning, legal hold, and controlled access changes over time. Which combination best meets these requirements?

Answer

Enable S3 Object Lock with compliance mode, enable versioning, and restrict access via bucket policies using condition keys

Explanation

Object Lock in compliance mode prevents deletion or alteration for the retention period, supporting legal requirements. Versioning preserves historical states, while bucket policies and conditions control access changes.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A global system must support read-heavy traffic with sub-second availability targets. Data must be strongly consistent within a region and have automatic failover when an AZ fails. Which AWS architecture best fits?

View question →

A workload generates large volumes of telemetry and requires cost-optimized storage with tiered retention and near-real-time query on the last 24 hours. Which AWS services and features best satisfy this?

View question →

A company wants to migrate a stateful .NET monolith to AWS. The application uses in-memory sessions and expects low-latency reads. Which design best addresses session consistency and failover across multiple instances?

View question →

You must design a multi-account AWS landing zone for a regulated workload. Security teams require that no account can create new IAM roles unless they follow a centrally approved permission model. Which approach best enforces this at scale?

View question →

A company runs a containerized microservice on EKS with multiple node groups and requires predictable scaling under sudden load spikes while minimizing cold-start latency. They also must ensure critical workloads remain scheduled during cluster-wide capacity constraints. What is the best strategy?

View question →

An organization uses AWS Organizations and wants to prevent accidental exposure of secrets. Some teams require different rotation schedules per application, but all secrets must be encrypted with the same central key strategy and must rotate automatically. Which design best meets these constraints?

View question →

QuestionBack to list