CLF-C02 Cloud Architecture & Deployment Principles 3 — Questions and Answers
Question 1: Which AWS service enables you to define infrastructure resources using code and provision them in an automated, repeatable manner?
- AWS Config
- AWS CloudFormation (Correct answer)
- AWS Systems Manager
- AWS CodeDeploy
Correct answer: AWS CloudFormation
AWS CloudFormation lets you model and provision AWS resources using infrastructure as code templates (JSON or YAML).
Question 2: According to the AWS Shared Responsibility Model, which of the following is the customer's responsibility?
- Physical security of data centers
- Hardware maintenance of servers
- Patching the guest operating system on EC2 instances (Correct answer)
- Network infrastructure management
Correct answer: Patching the guest operating system on EC2 instances
Customers are responsible for patching and maintaining the guest OS on their EC2 instances, while AWS manages the underlying hardware and hypervisor.
Question 3: A company wants to minimize the time-to-market for new features by automatically deploying code changes through testing and production environments. Which approach does this describe?
- Blue/green deployment only
- Continuous Integration/Continuous Delivery (CI/CD) (Correct answer)
- Canary releases only
- Manual deployment pipeline
Correct answer: Continuous Integration/Continuous Delivery (CI/CD)
CI/CD automates the building, testing, and deployment of application changes, reducing time-to-market and minimizing manual errors.
Question 4: Which AWS Well-Architected Framework pillar emphasizes selecting the right resource types and sizes based on workload requirements?
- Operational Excellence
- Reliability
- Cost Optimization
- Performance Efficiency (Correct answer)
Correct answer: Performance Efficiency
The Performance Efficiency pillar focuses on using IT and computing resources efficiently, including selecting appropriate resource types and sizes.
Question 5: What is a key benefit of using a microservices architecture compared to a monolithic architecture in the cloud?
- Easier initial development
- Lower network latency between components
- Independent scaling and deployment of individual services (Correct answer)
- Reduced number of API calls
Correct answer: Independent scaling and deployment of individual services
Microservices allow each service to be scaled, deployed, and updated independently, improving agility and resource efficiency.
Question 6: An architect recommends using loosely coupled components in a cloud application. What is the primary benefit of this approach?
- Reduced latency between services
- Failure of one component does not cascade to others (Correct answer)
- Simplified code development
- Lower data transfer costs
Correct answer: Failure of one component does not cascade to others
Loose coupling prevents failures in one component from propagating to other components, improving overall system resilience.
Question 7: Which principle recommends running tasks on separate servers and storing session data externally to enable easier horizontal scaling?
- Stateless application design (Correct answer)
- Tight coupling
- Vertical scaling
- Single-point architecture
Correct answer: Stateless application design
Stateless application design ensures that any server can handle any request, making it easy to add or remove servers for horizontal scaling.
Which AWS service enables you to define infrastructure resources using code and provision them in an automated, repeatable manner?