exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 116 discussion

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?

  • A. Introduce changes as a separate environment parallel to the existing one. Configure API Gateway to use a canary release deployment to send a small subset of user traffic to the new environment.
  • B. Introduce changes as a separate environment parallel to the existing one. Update the application’s DNS alias records to point to the new environment.
  • C. Introduce changes as a separate target group behind the existing Application Load Balancer. Configure API Gateway to route user traffic to the new target group in steps.
  • D. Introduce changes as a separate target group behind the existing Application Load Balancer. Configure API Gateway to route all traffic to the Application Load Balancer, which then sends the traffic to the new target group.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
haazybanj
Highly Voted 1 year, 9 months ago
Selected Answer: A
Option A is also a valid approach that can meet the requirements with MINIMAL changes to the application. In Option A, the changes are introduced as a separate environment parallel to the existing one. This new environment can be used to deploy the new version of the application. By configuring API Gateway to use a canary release deployment, a small subset of user traffic is directed to the new environment, while the majority of traffic continues to be routed to the existing environment hosting the current version of the application.
upvoted 6 times
...
jamesf
Most Recent 9 months, 1 week ago
Selected Answer: A
Keywords: minimal disruptions, MINIMAL changes
upvoted 1 times
...
zijo
10 months, 3 weeks ago
Selected Answer: A
I chose A because the question says MINIMAL changes to the application. Canary deployment needs minimal changes to the application as it requires only adding canary settings to the deployment stage. AWS API Gateway supports canary deployments, allowing you to route a percentage of your traffic to a new stage or version of your API.
upvoted 2 times
...
dkp
1 year ago
Selected Answer: C
C: Separate Target Group: By introducing a new target group behind the existing Application Load Balancer, you can direct traffic to this new target group without affecting the existing environment. This means the new version of the application can be tested in isolation. Step-by-Step Traffic Routing: API Gateway allows you to gradually shift user traffic from one target group (existing version) to another (new version). This means you can start with a small percentage of traffic and gradually increase it, allowing you to monitor the new version's performance and stability. Quick Rollback: If the new version has any issues, you can quickly revert the traffic to the original target group, ensuring minimal disruption to users. Separate Environment with Canary Deployment: This introduces a completely separate environment, requiring additional infrastructure management and potentially more configuration changes depending on how the environments are set up.
upvoted 2 times
...
WhyIronMan
1 year, 1 month ago
Selected Answer: A
Agree with A. A parallel environment will allow the company to test the deployment, do smoke tests and all the basic stuff to check if the application is working fine. Then, they can start serving traffic to the users, allowing 10% of the users to go to the new environment and test. The key is the word "disruptions" disruption can be considered a failure in the infrastructure, in the communications (networking) but NOT a Bug. Even do, switching 10% of the users to test is best than switching the entire loadbalancer to a new target group because in this scenarios is 100% of users affect against 10% Details are everything during an investigation...
upvoted 3 times
...
dzn
1 year, 2 months ago
Selected Answer: D
A is not meet the "MINIMAL changes to the application" requirement. If application receives requests from a different ALB, the application will receive a different request value, such as HTTP headers, and may need to be modified application. Since D is the same ALB, it is unlikely that changes will be necessary.
upvoted 1 times
...
thanhnv142
1 year, 2 months ago
A is correct: <users experience minimal disruptions during any deployment of a new version of the application.> and <ensure it can quickly roll back updates if there is an issue> means deploy in parallel: canary release or blue/green deployment B, C and D: If there was a large bug with the a new version, users would experience huge service disruptions
upvoted 3 times
...
Ramdi1
1 year, 3 months ago
Selected Answer: A
Canary deployment is used to stop disruption hence I have voted A
upvoted 3 times
...
zolthar_z
1 year, 4 months ago
Selected Answer: D
Answer is D. Even API supports canary deployment it is only if the API can redirect the traffic between two stages, in this case the API sends the traffic directly to the ALB, and from the ALB yo can choose to which environment redirect the traffic
upvoted 2 times
...
Ffida2214
1 year, 4 months ago
Why not Option D, as the deployment is API gateway-->ALB-->target groups(EC2). and question is saying that: The company wants to ensure users experience minimal disruptions during any deployment of a new version of the application, with minimal changes to application (it is not saying that we shouldn't change deployment steps)
upvoted 1 times
...
OrganizedChaos25
1 year, 11 months ago
Selected Answer: A
A is definitely correct
upvoted 3 times
...
devnv
1 year, 11 months ago
A is correct
upvoted 1 times
...
ParagSanyashiv
1 year, 11 months ago
Selected Answer: A
A is correct answer
upvoted 2 times
...
Sazeka
1 year, 11 months ago
Selected Answer: A
The correct answer is A Correct Answer is A. 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.
upvoted 4 times
...
Jeanphi72
1 year, 12 months ago
Selected Answer: A
I disagree with C: https://docs.aws.amazon.com/apigateway/latest/developerguide/canary-release.html
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago