Topic 1 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?
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.
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.
Create a new ALB, Auto Scaling group, and target group for the beta version of the application. Use Amazon CloudFront with [email protected] to determine which specific request will go to the new ALB. Use the CloudFront endpoint to send the test system requests to test the beta version of the application.
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. Use Amazon CloudFront with [email protected] to update the test system requests to add the required cookie when the requests go to the ALB.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: 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.
👍 6MrTee2023/04/22 - 正解だと思う選択肢: B
The question is: "Which solution meets this requirement with the least amount of effort?" The question is: Which solution meets this requirement with the least amount of effort?
The answer is B.
A is more labor intensive to implement because it requires updating the ALB routing rules and the test system code needs to be updated.
👍 1junrun32023/05/14 - 正解だと思う選択肢: A
Option A is the least effort. With option B, you have to additionally create a new ALB and also a new route 53 record. With option A, you can create a new listener based on HTTP header: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-update-rules.html and it will fulfill the requirements. You will also need a new auto scaling group and target group with option A - but you also need this with option B as well, so option A is the least effort.
👍 1yeacuz2023/05/16
シャッフルモード