DevOps Engineering on AWS Certification High Availability, Fault Tolerance, and Auto Scaling 2 — Questions and Answers
Question 1: Which AWS feature enables an RDS database to automatically fail over to a standby replica in another Availability Zone?
- RDS Multi-AZ (Correct answer)
- RDS Read Replica
- RDS Automated Backups
- RDS Global Database
Correct answer: RDS Multi-AZ
RDS Multi-AZ deployments maintain a synchronous standby replica in a different AZ and automatically fail over to it if the primary instance fails.
Question 2: Which S3 feature allows you to automatically replicate objects to buckets in other AWS regions for disaster recovery?
- Cross-Region Replication (Correct answer)
- Same-Region Replication
- S3 Versioning
- S3 Lifecycle Policies
Correct answer: Cross-Region Replication
S3 Cross-Region Replication automatically copies objects to a destination bucket in a different AWS region, supporting disaster recovery and latency reduction.
Question 3: Which AWS service uses health checks to automatically route traffic away from unhealthy endpoints?
- Elastic Load Balancing
- Amazon Route 53 with health checks
- AWS Auto Scaling
- All of the above (Correct answer)
Correct answer: All of the above
ELB, Route 53, and Auto Scaling all perform health checks and route or terminate traffic away from unhealthy instances or endpoints.
Question 4: What is the primary benefit of deploying resources across multiple AWS Availability Zones?
- Protection against the failure of a single data center location (Correct answer)
- Reduced network latency globally
- Lower EC2 instance costs
- Automatic compliance with regional regulations
Correct answer: Protection against the failure of a single data center location
Distributing resources across multiple AZs ensures that if one AZ experiences an outage, other AZs continue serving traffic without interruption.
Question 5: Which Auto Scaling scaling type lets you schedule capacity changes at specific times, such as before a known traffic surge?
- Scheduled Scaling (Correct answer)
- Target Tracking
- Step Scaling
- Predictive Scaling
Correct answer: Scheduled Scaling
Scheduled Scaling lets you set specific times and dates for Auto Scaling to automatically increase or decrease the desired capacity of your group.
Question 6: What is the purpose of an Application Load Balancer's target group?
- To route requests to registered targets like EC2 instances, containers, or IP addresses (Correct answer)
- To define SSL certificates for HTTPS termination
- To configure WAF rules for the load balancer
- To manage sticky session configurations
Correct answer: To route requests to registered targets like EC2 instances, containers, or IP addresses
A target group routes requests to one or more registered targets using a specified protocol and port, performing health checks on those targets.
Which AWS feature enables an RDS database to automatically fail over to a standby replica in another Availability Zone?