exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 30 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 30
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

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
WhyIronMan
Highly Voted 3 years, 6 months ago
I'll got with A B) required a lot of changes and the DNS can take longer to propagate C) API gateway cannot choose the target group, this is done by de ELB D) ELB Target groups changes require some work, you can just pointo to a new loadbalancer
upvoted 17 times
...
yyy
Highly Voted 3 years, 6 months ago
D requires fewer changes than A
upvoted 10 times
shammous
3 years, 5 months ago
Option D suggests to reroute all traffic at once, which will affect all the users experience. To avoid that, Option A suggests to use canary deployment, which minimizes the blast radius in case of issues and allows to quickly roll back.
upvoted 9 times
...
...
Dgix
Most Recent 1 year, 6 months ago
LEAST changes is actually C. B and D switch all traffic at once and are thus out of the question. A is more work than C.
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: A
C and D are excluded. We need a second Application Load Balancer. B will switch all traffic to the new environment. That disrupts users.
upvoted 1 times
...
Hamza5
2 years, 2 months ago
I WILL GO WITH A - CANARY DEPLOYMENT
upvoted 1 times
...
Bulti
2 years, 3 months ago
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 2 times
...
saeidp
2 years, 4 months ago
I'll go with A In case of failure in new code, there will be issues in using option D
upvoted 1 times
...
ericzaj
2 years, 4 months ago
Selected Answer: D
A. Question isn't asking about impacting minimal users, it's asking for minimal disruption. D. Simple and elegant with minimal changes to the application.
upvoted 1 times
...
Milind
2 years, 4 months ago
Why Canary Deployment? Canary deployment benefits include zero downtime, easy rollout and quick rollback – plus the added safety from the gradual rollout process. It also has some drawbacks – the expense of maintaining multiple server instances, the difficult clone-or-don’t-clone database decision. Source: https://www.split.io/glossary/canary-deployment/
upvoted 1 times
...
ericzaj
2 years, 4 months ago
I can see C as correct if you have the ALB configured with routing rules. You can use a http header to route requests to a specific target group. The wording of the question is interesting. The requirement is minimal disruption. D is kind of correct because you could flip to the old target group quickly as long as the old infrastructure hasn't been deprovisioned.
upvoted 1 times
...
neta1o
2 years, 5 months ago
For those that looking at C/D I think those may be cancelled because an ALB can only point to one target group?
upvoted 1 times
...
Chinta
2 years, 5 months ago
A IS THE RIGHT ANSWER
upvoted 1 times
...
Goozian
2 years, 7 months ago
Selected Answer: A
Though "D" makes more sense in the real world but saying "minimal disruptions" requires just sending a portion of traffic to the new environment. So reluctantly picking "A"
upvoted 1 times
...
colinquek
2 years, 7 months ago
Selected Answer: A
A - quite simply, questions of this nature w keywords like "subset of users", the clear option for ans shld be "canary"
upvoted 6 times
...
[Removed]
3 years ago
Selected Answer: A
Canary deployment for minimal disruptions
upvoted 4 times
...
[Removed]
3 years, 1 month ago
Selected Answer: A
APIG has no target group, ELB cannt canary, so only Option A is correct
upvoted 2 times
...
NNHAN
3 years, 6 months ago
D, need ASG only A, need ALB+ASG
upvoted 1 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