nerdexam
AmazonAmazon

DOP-C02 · Question #422

DOP-C02 Question #422: Real Exam Question with Answer & Explanation

The correct answer is D: Create two AWS CodePipeline pipelines: one for the frontend and one for the backend. Specify. Correct option meets the requirements for independent deployments of frontend and backend - Two separate pipelines allow the frontend and backend to be built and deployed independently. - The backend pipeline uses AWS CodeDeploy to deploy to EC2 instances. - The frontend pipeline

Submitted by dimitri_ru· Mar 6, 2026SDLC Automation

Question

A company is developing an ecommerce application that has a backend that runs on Amazon EC2 instances. The application has a static frontend website that is hosted in an Amazon S3 bucket. The company uses a GitHub repository for version control and must automate builds and deployments whenever code is pushed to the main branch. The company must deploy changes to the frontend and backend independently of each other. Which solution will meet these requirements?

Options

  • ACreate a single AWS CodePipeline pipeline to use for the frontend and the backend. Specify the
  • BCreate a single AWS CodePipeline pipeline to use for the frontend and the backend. Specify the
  • CCreate two AWS CodePipeline pipelines: one for the frontend and one for the backend. Specify
  • DCreate two AWS CodePipeline pipelines: one for the frontend and one for the backend. Specify

Explanation

Correct option meets the requirements for independent deployments of frontend and backend - Two separate pipelines allow the frontend and backend to be built and deployed independently. - The backend pipeline uses AWS CodeDeploy to deploy to EC2 instances. - The frontend pipeline uses Amazon S3 as the deployment target for the static website. - Both pipelines use the GitHub repository as the source and AWS CodeBuild for building, ensuring automation whenever code is pushed.

Topics

#AWS CodePipeline#CI/CD#Independent deployments#Frontend/backend

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions