🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 10 hours remaining!

AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

Your team's CodeBuild project executes terraform apply for multiple feature branches, using an S3 backend that stores a single shared state file. When two builds run at the same time, the state becomes corrupted. You must prevent concurrent writes while continuing to use the S3 backend and keep cost low. Which modification addresses this requirement?

  • Enable versioning on the S3 bucket to recover previous versions of the state file.

  • Configure a DynamoDB table for state locking and reference it with the dynamodb_table argument in the S3 backend.

  • Move the Terraform state to AWS Systems Manager Parameter Store by using the secureString type.

  • Change the backend to local so each CodeBuild job writes its own state file in the build container.

AWS Certified CloudOps Engineer Associate SOA-C03
Deployment, Provisioning, and Automation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot