
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company is launching an application on AWS. The application uses an Application Load Balancer (ALB) to direct traffic to at least two Amazon EC2 instances in a single target group. The instances are in an Auto Scaling group for each environment. The company requires a development environment and a production environment. The production environment will have periods of high traffic.
Which solution will configure the development environment MOST cost-effectively?
A
Reconfigure the target group in the development environment to have only one EC2 instance as a target.
B
Change the ALB balancing algorithm to least outstanding requests.
C
Reduce the size of the EC2 instances in both environments.
D
Reduce the maximum number of EC2 instances in the development environment's Auto Scaling group.
Explanation:
Correct Answer: A - Reconfigure the target group in the development environment to have only one EC2 instance as a target.
Why this is the most cost-effective solution:
Direct Cost Reduction: The development environment only needs one EC2 instance instead of two, which immediately cuts EC2 costs by approximately 50% for that environment.
Maintains Production Performance: The production environment continues to have at least two EC2 instances as required, ensuring high availability during periods of high traffic.
Development Environment Requirements: Development environments typically don't require the same level of availability as production environments. A single instance is usually sufficient for development and testing purposes.
No Impact on Load Balancing Algorithm: Changing the ALB balancing algorithm (Option B) doesn't reduce costs - it only changes how traffic is distributed.
Option C is problematic: Reducing EC2 instance size in both environments could impact production performance during high traffic periods.
Option D is insufficient: Simply reducing the maximum number in the Auto Scaling group doesn't guarantee cost savings if the current configuration already runs two instances. Option A explicitly reduces the actual running instances to one.
Key AWS Cost Optimization Principles Applied:
Implementation Approach: