nerdexam
Amazon

DOP-C02 · Question #403

A company is developing a microservices-based application on AWS. The application consists of AWS Lambda functions and Amazon Elastic Container Service (Amazon ECS) services that need to be deployed…

The correct answer is B. Use AWS CodeDeploy to manage deployments for the Lambda functions and ECS services. Using AWS CodeDeploy gives you a unified deployment framework that natively supports both Lambda (with canary or linear deployments) and ECS (with blue/green deployments) out of the box. This automates the rollout, tracks health, and shifts traffic with zero or minimal…

Submitted by chen.hong· Mar 6, 2026SDLC Automation

Question

A company is developing a microservices-based application on AWS. The application consists of AWS Lambda functions and Amazon Elastic Container Service (Amazon ECS) services that need to be deployed frequently. A DevOps engineer needs to implement a consistent deployment solution across all components of the application. The solution must automate the deployments, minimize downtime during updates, and manage configuration data for the application. Which solution will meet these requirements with the LEAST development effort?

Options

  • AUse AWS CloudFormation to define and provision the Lambda functions and ECS services.
  • BUse AWS CodeDeploy to manage deployments for the Lambda functions and ECS services.
  • CUse AWS Step Functions to orchestrate deployments for the Lambda functions and ECS
  • DUse AWS Systems Manager to manage deployments for the Lambda functions and ECS

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    82% (31)
  • C
    5% (2)
  • D
    11% (4)

Explanation

Using AWS CodeDeploy gives you a unified deployment framework that natively supports both Lambda (with canary or linear deployments) and ECS (with blue/green deployments) out of the box. This automates the rollout, tracks health, and shifts traffic with zero or minimal downtime. Storing configuration parameters in AWS Systems Manager Parameter Store lets your functions and containers retrieve settings securely at runtime, without custom code. Together, this approach delivers consistent, automated, low‑downtime deployments across all microservice components with very little custom development.

Topics

#CodeDeploy#Lambda deployment#ECS deployment#microservices

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice