nerdexam
Amazon

DOP-C02 · Question #171

A company has a single developer writing code for an automated deployment pipeline. The developer is storing source code in an Amazon S3 bucket for each project. The company wants to add more develope

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #171. The question stem and answer options stay visible for context.

Submitted by emma.c· Mar 6, 2026SDLC Automation

Question

A company has a single developer writing code for an automated deployment pipeline. The developer is storing source code in an Amazon S3 bucket for each project. The company wants to add more developers to the team but is concerned about code conflicts and lost work. The company also wants to build a test environment to deploy newer versions of code for testing and allow developers to automatically deploy to both environments when code is changed in the repository. What is the MOST efficient way to meet these requirements?

Options

  • ACreate an AWS CodeCommit repository for each project, use the main branch for production
  • BCreate another S3 bucket for each project for testing code, and use an AWS Lambda function to
  • CCreate an AWS CodeCommit repository for each project, and use the main branch for production
  • DEnable versioning and branching on each S3 bucket, use the main branch for production code,

Unlock DOP-C02 to see the answer

You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Source Control#AWS CodeCommit#Version Control#Developer Collaboration
Full DOP-C02 Practice