SAA-C03 · Question #115
A company uses an Amazon EC2 Auto Scaling group to host an API. The EC2 instances are in a target group that is associated with an Application Load Balancer (ALB). The company stores data in an Amazon
The correct answer is C. Create a listener rule on the ALB to return a maintenance response when the path on a request. Creating a listener rule on theApplication Load Balancer (ALB)to return a maintenance response during the maintenance window is the most straightforward solution with the least operational overhead. The rule can be configured to match all incoming requests and return a custom res
Question
A company uses an Amazon EC2 Auto Scaling group to host an API. The EC2 instances are in a target group that is associated with an Application Load Balancer (ALB). The company stores data in an Amazon Aurora PostgreSQL database. The API has a weekly maintenance window. The company must ensure that the API returns a static maintenance response during the weekly maintenance window. Which solution will meet this requirement with the LEAST operational overhead?
Options
- ACreate a table in Aurora PostgreSQL that has fields to contain keys and values. Create a key for
- BCreate an Amazon Simple Queue Service (Amazon SQS) queue. Subscribe the EC2 instances to
- CCreate a listener rule on the ALB to return a maintenance response when the path on a request
- DCreate an Amazon Simple Notification Service (Amazon SNS) topic Subscribe the EC2 instances
How the community answered
(38 responses)- A16% (6)
- B3% (1)
- C74% (28)
- D8% (3)
Explanation
Creating a listener rule on theApplication Load Balancer (ALB)to return a maintenance response during the maintenance window is the most straightforward solution with the least operational overhead. The rule can be configured to match all incoming requests and return a custom response, and it can be easily removed once maintenance is complete. Option A (Aurora table flag): This adds unnecessary complexity for a temporary maintenance Option B and D (SQS or SNS): These options introduce more components than needed for a simple maintenance message.
Community Discussion
No community discussion yet for this question.