nerdexam
Amazon

DOP-C02 · Question #131

A company recently migrated its legacy application from on-premises to AWS. The application is hosted on Amazon EC2 instances behind an Application Load Balancer, which is behind Amazon API Gateway…

The correct answer is A. Introduce changes as a separate environment parallel to the existing one. Configure API Gateway to. API Gateway supports canary deployment on a deployment stage before you direct all traffic to that stage. A parallel environment means we will create a new ALB and a target group that will target a new set of EC2 instances on which the newer version of the app will be deployed…

Submitted by tarun92· Mar 6, 2026SDLC Automation

Question

A company recently migrated its legacy application from on-premises to AWS. The application is hosted on Amazon EC2 instances behind an Application Load Balancer, which is behind Amazon API Gateway. The company wants to ensure users experience minimal disruptions during any deployment of a new version of the application. The company also wants to ensure it can quickly roll back updates if there is an issue. Which solution will meet these requirements with MINIMAL changes to the application?

Options

  • AIntroduce changes as a separate environment parallel to the existing one. Configure API Gateway to
  • BIntroduce changes as a separate environment parallel to the existing one. Update the application's
  • CIntroduce changes as a separate target group behind the existing Application Load Balancer.
  • DIntroduce changes as a separate target group behind the existing Application Load Balancer.

How the community answered

(25 responses)
  • A
    76% (19)
  • B
    8% (2)
  • C
    12% (3)
  • D
    4% (1)

Explanation

API Gateway supports canary deployment on a deployment stage before you direct all traffic to that stage. A parallel environment means we will create a new ALB and a target group that will target a new set of EC2 instances on which the newer version of the app will be deployed. So the canary setting associated to the new version of the API will connect with the new ALB instance which in turn will direct the traffic to the new EC2 instances on which the newer version of the application is deployed.

Topics

#Blue/Green Deployment#API Gateway#Application Load Balancer#Rollback

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice