Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 111

A company has an image storage web application that runs on AWS. The company hosts the application on Amazon EC2 instances in an Auto Scaling group. The Auto Scaling group acts as the target group for an Application Load Balancer (ALB) and uses an Amazon S3 bucket to store the images for sale.

The company wants to develop a feature to test system requests. The feature will direct requests to a separate target group that hosts a new beta version of the application.

Which solution will meet this requirement with the LEAST effort?

    Correct Answer: A

    To meet the requirement with the least effort, creating a new Auto Scaling group and target group for the beta version of the application and updating the ALB routing rule with a condition that looks for a cookie named version that has a value of beta is the most efficient solution. By updating the test system code to include this cookie, you can direct beta traffic without significant overhead. This approach leverages existing infrastructure without the need to create new ALBs or Route 53 records, making it simpler and quicker to implement.

Discussion
MrTeeOption: A

This solution will allow the company to direct requests to a separate target group that hosts the new beta version of the application without having to create a new ALB or use additional services such as Amazon Route 53 or Amazon CloudFront. Option D adds additional complexity and effort compared to option A, which simply involves updating the ALB routing rule with a condition that looks for a cookie named version that has a value of beta and updating the test system code to use this cookie to test the beta version of the application.

backfringeOption: B

Option B provides the simplest and least effort solution to test the beta version of the application. By creating a new ALB, Auto Scaling group, and target group for the beta version, the company can deploy the new version of the application separately from the production version. Configuring an alternate Amazon Route 53 record for the new ALB endpoint allows the test system requests to be directed to the beta version.

nnecodeOption: B

Which solution will meet this requirement with the LEAST effort? Updating code will be more effort, hence B is the correct answer.

gqs3119Option: D

Modifying ALB (A/D) is less effort than modifying route 53 and adding ALB (B/C), 1 action vs 2. So it's A or D, let's think about effort in both cases. In case of A you will need to: 1.Add a new temporary code to set cookies 2.Test app with new temporary code, to make sure it won't break the production 3.Deploy it to the production After tests are finished: 4.Remove temporary code 5.Deploy to production In case of D you will need: 1.Create lambda 2.Do a simple testing to make sure it won't affect production After tests are finished: 3.Remove lambda I'd say D is the least effort.

LR2023Option: D

just using voting...explanation in a different thread

LR2023

I am going with D..... https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-at-the-edge.html A Lambda function can inspect cookies and rewrite URLs so that users see different versions of a site for A/B testing. Option B & C requires to create new ALB - which is not least effort. And option A requires to update code.

NagasoracleOption: B

Considering Least effort

JohnPlOption: D

A is modifying the code for testing, not a good practice. D is the least effort compared to B and C

AnandeshOption: A

https://aws.amazon.com/blogs/aws/new-advanced-request-routing-for-aws-application-load-balancers/

65703c1Option: A

A is the correct answer.

IvRa

ChatGPT goes for D.

41eb566Option: B

The solution that will meet the requirement with the least effort is: B. Create a new ALB, Auto Scaling group, and target group for the beta version of the application. Configure an alternate Amazon Route 53 record for the new ALB endpoint. Use the alternate Route 53 endpoint in the test system requests to test the beta version of the application.

SerialiDrOption: A

This approach allows for the least amount of effort in setting up a beta environment where test system requests can be directed to a new version of the application for testing purposes. It leverages ALB's ability to conditionally route traffic based on request attributes, such as cookies, allowing for flexible and efficient testing of new application versions alongside existing production workloads.

SerialiDrOption: A

A. Create a new Auto Scaling group and target group for the beta version of the application. Update the ALB routing rule with a condition that looks for a cookie named version that has a value of beta. Update the test system code to use this cookie to test the beta version of the application: This is a straightforward and effective solution. By creating a new Auto Scaling group and target group for the beta version and updating the ALB to route based on a specific cookie, the company can easily direct test traffic to the beta version without needing additional infrastructure or complex configurations. The test system would simply include the specified cookie in its requests to access the beta version.

a_winOption: A

requirement with the LEAST effort

LemonGremlinOption: A

Agree that this is A

Rameez1Option: A

Option A serves the requirement with least efforts.