CLF-C02 AWS Architecture 2 — Questions and Answers
Question 1: Which AWS architecture principle recommends designing systems to withstand component failures without affecting end users?
- Design for failure (Correct answer)
- Design for cost
- Design for speed
- Design for simplicity
Correct answer: Design for failure
The 'Design for failure' principle encourages building systems that assume components will fail and remain operational despite those failures.
Question 2: A company wants to ensure their application automatically adds EC2 instances during peak traffic. Which AWS service enables this?
- AWS CloudTrail
- AWS Auto Scaling (Correct answer)
- AWS Config
- Amazon CloudFront
Correct answer: AWS Auto Scaling
AWS Auto Scaling automatically adjusts the number of EC2 instances based on demand, ensuring performance during peaks and cost savings during low traffic.
Question 3: Which AWS architecture pattern distributes incoming traffic across multiple targets to improve availability?
- Caching
- Load balancing (Correct answer)
- Sharding
- Partitioning
Correct answer: Load balancing
Load balancing distributes incoming application traffic across multiple targets such as EC2 instances to improve availability and fault tolerance.
Question 4: What is the primary benefit of using multiple AWS Availability Zones in an architecture?
- Reduced data transfer costs
- Lower latency for all users
- High availability and fault tolerance (Correct answer)
- Simplified infrastructure management
Correct answer: High availability and fault tolerance
Deploying across multiple Availability Zones provides high availability and fault tolerance by isolating failures to a single zone.
Question 5: Which AWS service acts as a fully managed message broker that decouples application components?
- Amazon SQS (Correct answer)
- Amazon EC2
- AWS Lambda
- Amazon RDS
Correct answer: Amazon SQS
Amazon SQS is a fully managed message queuing service that decouples and scales microservices, distributed systems, and serverless applications.
Question 6: What does the term 'elasticity' mean in AWS cloud architecture?
- The ability to recover from disasters quickly
- The ability to scale resources up or down based on demand (Correct answer)
- The ability to deploy globally in minutes
- The ability to monitor all AWS resources
Correct answer: The ability to scale resources up or down based on demand
Elasticity is the ability to acquire resources as you need them and release them when you no longer need them, scaling with demand.
Question 7: A startup wants to reduce the risk of a single point of failure in their AWS architecture. What approach should they use?
- Deploy everything to a single large EC2 instance
- Use redundancy across multiple AZs (Correct answer)
- Store all data in one S3 bucket
- Use a single RDS instance with maximum storage
Correct answer: Use redundancy across multiple AZs
Using redundancy across multiple Availability Zones eliminates single points of failure by ensuring no one failure can take down the entire system.
Which AWS architecture principle recommends designing systems to withstand component failures without affecting end users?