DevOps Cloud Platforms & DevOps 1 — Questions and Answers
Question 1: What is AWS Elastic Beanstalk?
- A PaaS service that automatically handles deployment, capacity provisioning, and scaling for web applications (Correct answer)
- A managed Kubernetes service
- A serverless function compute service
- A content delivery network
Correct answer: A PaaS service that automatically handles deployment, capacity provisioning, and scaling for web applications
Elastic Beanstalk lets developers deploy applications without managing underlying infrastructure — AWS handles provisioning, load balancing, auto-scaling, and monitoring.
Question 2: What is an AWS Auto Scaling Group?
- A service that automatically adds or removes EC2 instances based on demand or schedules (Correct answer)
- A VPC subnet grouping
- A managed database cluster
- An IAM permission boundary
Correct answer: A service that automatically adds or removes EC2 instances based on demand or schedules
Auto Scaling Groups maintain a desired count of EC2 instances, scaling out under load and scaling in when demand drops, improving availability and cost efficiency.
Question 3: What does 'infrastructure immutability' enable in cloud deployments?
- Consistent, repeatable deployments by replacing instances rather than updating them in place (Correct answer)
- Preventing all changes to cloud resources
- Read-only access to production databases
- Disabling auto-scaling during deployments
Correct answer: Consistent, repeatable deployments by replacing instances rather than updating them in place
Immutable infrastructure means every deployment creates new instances from a fresh image, eliminating configuration drift and making rollbacks as simple as switching to the previous image.
Question 4: What is Azure DevOps?
- A Microsoft platform offering CI/CD pipelines, repos, boards, and artifact management (Correct answer)
- A cloud infrastructure provisioning service
- A Kubernetes managed service
- A security compliance monitoring tool
Correct answer: A Microsoft platform offering CI/CD pipelines, repos, boards, and artifact management
Azure DevOps provides integrated tools for planning (Boards), source control (Repos), CI/CD pipelines (Pipelines), and package management (Artifacts) in one platform.
Question 5: What is a cloud region in AWS/GCP/Azure?
- A geographically distinct data center cluster where cloud services are hosted (Correct answer)
- A virtual private network segment
- A cloud pricing tier
- A load balancing zone
Correct answer: A geographically distinct data center cluster where cloud services are hosted
A cloud region is a physical location containing multiple isolated availability zones, allowing customers to deploy resources close to users and comply with data residency requirements.
Question 6: What is the principle of least privilege in cloud IAM?
- Granting users and services only the minimum permissions required to perform their tasks (Correct answer)
- Giving all team members admin access by default
- Using shared credentials for all services
- Rotating access keys on a fixed schedule
Correct answer: Granting users and services only the minimum permissions required to perform their tasks
Least privilege minimizes the blast radius of credential compromise or misconfiguration by ensuring no identity has more access than it needs.
What is AWS Elastic Beanstalk?