
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Reconfigure the target group in the development environment to have only one EC2 instance as a target.
## 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:** 1. **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. 2. **Maintains Production Performance**: The production environment continues to have at least two EC2 instances as required, ensuring high availability during periods of high traffic. 3. **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. 4. **No Impact on Load Balancing Algorithm**: Changing the ALB balancing algorithm (Option B) doesn't reduce costs - it only changes how traffic is distributed. 5. **Option C is problematic**: Reducing EC2 instance size in both environments could impact production performance during high traffic periods. 6. **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:** - **Right Sizing**: Using only the resources needed for the specific environment - **Development vs Production Differentiation**: Different environments have different requirements - **Auto Scaling Group Configuration**: Development environments can run with fewer instances while maintaining the same Auto Scaling group structure for consistency **Implementation Approach:** 1. Modify the development environment's target group to register only one EC2 instance 2. Keep the Auto Scaling group minimum and desired capacity at 1 for development 3. Maintain production environment with at least 2 instances for high availability 4. Monitor development environment performance to ensure single instance meets requirements
Author: LeetQuiz Editorial Team
No comments yet.
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.