CCP AWS Cloud Architecture and Design Principles 2 — Questions and Answers
Question 1: What does 'elasticity' mean in the context of AWS cloud computing?
- The ability to stretch physical cables longer
- Automatically scaling resources up or down to match current demand (Correct answer)
- Reserving maximum capacity at all times
- Distributing data across multiple regions
Correct answer: Automatically scaling resources up or down to match current demand
Elasticity refers to the ability to automatically provision and de-provision resources to precisely match demand, avoiding both under- and over-provisioning.
Question 2: Which AWS service enables you to model and provision infrastructure as code using templates?
- AWS OpsWorks
- AWS Elastic Beanstalk
- AWS CloudFormation (Correct answer)
- AWS Systems Manager
Correct answer: AWS CloudFormation
AWS CloudFormation lets you define your entire infrastructure in JSON or YAML templates and provision it consistently and repeatedly.
Question 3: Which design principle recommends replacing failed components automatically rather than fixing them in place?
- Infrastructure as Code
- Treat servers as cattle, not pets (Correct answer)
- Defense in Depth
- Principle of Least Privilege
Correct answer: Treat servers as cattle, not pets
The 'cattle not pets' principle means servers are disposable and interchangeable — when one fails, it's replaced automatically rather than manually nursed back to health.
Question 4: What is the benefit of using multiple AWS Regions for a global application?
- Lower storage costs
- Reduced latency for users in different geographic locations and improved disaster recovery (Correct answer)
- Simplified IAM management
- Automatic Reserved Instance discounts
Correct answer: Reduced latency for users in different geographic locations and improved disaster recovery
Deploying in multiple Regions reduces latency for globally distributed users and provides geographic redundancy for disaster recovery purposes.
Question 5: Which AWS Well-Architected pillar focuses on using cloud resources efficiently to deliver business value?
- Reliability
- Cost Optimization
- Performance Efficiency (Correct answer)
- Operational Excellence
Correct answer: Performance Efficiency
The Performance Efficiency pillar focuses on using computing resources efficiently and maintaining that efficiency as demand changes and technologies evolve.
Question 6: What does 'infrastructure as code' (IaC) mean in cloud architecture?
- Writing application code that runs on servers
- Defining and managing infrastructure through machine-readable configuration files (Correct answer)
- Using GUI consoles to configure services
- Manually scripting server configurations in bash
Correct answer: Defining and managing infrastructure through machine-readable configuration files
Infrastructure as Code means defining your servers, networks, and services in code files (like CloudFormation templates), enabling repeatable, version-controlled deployments.
What does 'elasticity' mean in the context of AWS cloud computing?