What is the primary purpose of AWS CloudFormation?

  1. Infrastructure as Code (IaC) for defining and managing AWS resources ✓
  2. Monitoring application logs
  3. Distributing content globally
  4. Managing database backups

Correct answer: Infrastructure as Code (IaC) for defining and managing AWS resources

Option A is correct because AWS CloudFormation is an Infrastructure as Code service that allows you to define, provision, and manage AWS resources using declarative JSON or YAML templates, enabling repeatable and version-controlled infrastructure deployments. Option B is incorrect because monitoring application logs is the purpose of AWS CloudWatch Logs, not CloudFormation. Option C is incorrect because distributing content globally is the function of Amazon CloudFront, a CDN service. Option D is incorrect because managing database backups is handled by AWS Backup or native RDS automated backup features, not CloudFormation.

Topic: · cloudformation, infrastructure as code, iac, aws services

Practice AWS Solutions Architect Associate Questions Free