nerdexam
Amazon

DVA-C02 · Question #143

A company has a front-end application that runs on four Amazon EC2 instances behind an Elastic Load Balancer (ELB) in a production environment that is provisioned by AWS Elastic Beanstalk. A…

The correct answer is A. Clone the production environment to a different platform version. Deploy the new application. A developer also needs to update to a new platform version and it's more likely a new major version of node.js. To update to the new major version there is only one method and it is a blue/green deployment by creating (cloning) a new environment with the latest platform…

Submitted by brentm· Mar 5, 2026Deployment

Question

A company has a front-end application that runs on four Amazon EC2 instances behind an Elastic Load Balancer (ELB) in a production environment that is provisioned by AWS Elastic Beanstalk. A developer needs to deploy and test new application code while updating the Elastic Beanstalk platform from the current version to a newer version of Node.js. The solution must result in zero downtime for the application. Which solution meets these requirements?

Options

  • AClone the production environment to a different platform version. Deploy the new application
  • BDeploy the new application code in an all-at-once deployment to the existing EC2 instances. Test
  • CPerform an immutable update to deploy the new application code to new EC2 instances. Serve
  • DUse a rolling deployment for the new application code. Apply the code to a subset of EC2

How the community answered

(51 responses)
  • A
    75% (38)
  • B
    4% (2)
  • C
    16% (8)
  • D
    6% (3)

Explanation

A developer also needs to update to a new platform version and it's more likely a new major version of node.js. To update to the new major version there is only one method and it is a blue/green deployment by creating (cloning) a new environment with the latest platform version. Then deploy a new app version to it. Test it, then swap the env URL without downtime. Not C: While an immutable update can ensure zero downtime during the deployment process, it doesn't account for updating the Elastic Beanstalk platform version.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice