AWS Solutions Architect Associate Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the AWS Solutions Architect Associate Test. Our comprehensive quiz offers multiple-choice questions that replicate the exam environment. Benefit from detailed explanations and hints. Prepare confidently for your AWS certification exam!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What service allows you to deploy infrastructure as code in AWS?

  1. AWS Lambda

  2. CloudFormation

  3. Amazon RDS

  4. EC2

The correct answer is: CloudFormation

The correct choice, CloudFormation, is a crucial service in AWS that enables users to define and provision AWS infrastructure through code. This aligns with the concept of Infrastructure as Code (IaC), allowing developers and system administrators to manage and configure their environments programmatically. With CloudFormation, you create templates in JSON or YAML format that describe the desired state of your cloud resources, such as EC2 instances, RDS databases, and security groups, among others. You can automate the provisioning, updating, and management of those resources in a consistent manner. As a result, this service not only enhances reliability through version control but also simplifies repetitive tasks, ultimately speeding up the development and deployment process. The other services listed do not serve the specific purpose of infrastructure deployment through code. AWS Lambda is a serverless compute service that runs code in response to events and doesn’t manage infrastructure directly. Amazon RDS is a managed database service, focusing on database management rather than infrastructure provisioning. EC2 refers specifically to virtual servers where you can run applications but does not offer functionality for automated infrastructure as code deployment.