CLD120 Module 11 Knowledge Check

1. Which are reasons to use automation to provision resources? (Select TWO.)

Automation requirement for high availability

○ Greater expense with manual processes

○ Automation requirement for creating some resources

Alignment with the reliability design principle

○ Lack of version control with manual processes


Analysis of each answer:

  1. Automation requirement for high availability - SELECTED and CORRECT
  2. Greater expense with manual processes - NOT SELECTED (but could be argued as correct)
  3. Automation requirement for creating some resources - NOT SELECTED and CORRECT
  4. Alignment with the reliability design principle - SELECTED and CORRECT
  5. Lack of version control with manual processes - NOT SELECTED (but could be argued as correct)

Note: The question asks for TWO reasons. The selected answers (1 and 4) are both clearly correct. However, answers 2 and 5 are also legitimate reasons to use automation, making this question somewhat ambiguous with multiple defensible answer combinations.

2. Which are benefits of using infrastructure as code (IaC) over manual processes? (Select TWO.)

Deploy environments with configuration consistency.

○ Protect environments from deletion.

○ Automate system-wide security scans.

○ Manage all account users. ☑ Propagate updates from a single environment to all environments.

Propagate updates from a single environment to all environments


Analysis of each answer:

  1. Deploy environments with configuration consistency. - SELECTED and CORRECT
  2. Protect environments from deletion. - NOT SELECTED and NOT CORRECT
  3. Automate system-wide security scans. - NOT SELECTED and NOT CORRECT
  4. Manage all account users. - NOT SELECTED and NOT CORRECT
  5. Propagate updates from a single environment to all environments. - SELECTED and CORRECT

The selected answers (1 and 5) are both correct and represent key advantages of Infrastructure as Code over manual infrastructure management.

3. A cloud architect wants to quickly set up a secure implementation of an Amazon FSx for Windows File Server that follows AWS best practices. Which solution should they use?

An AWS Quick Start

○ An AWS CloudFormation template that was downloaded from the internet

○ AWS CloudFormation Designer

○ An Amazon Machine Image (AMI) on AWS Marketplace


Analysis of each answer:

Key requirements:

  1. An AWS Quick Start - SELECTED and CORRECT
  2. An AWS CloudFormation template that was downloaded from the internet - NOT SELECTED and NOT CORRECT
  3. AWS CloudFormation Designer - NOT SELECTED and NOT CORRECT
  4. An Amazon Machine Image (AMI) on AWS Marketplace - NOT SELECTED and NOT CORRECT

The answer "An AWS Quick Start" is correct because Quick Starts provide pre-built, tested, AWS-validated deployments that implement best practices out of the box, enabling fast and secure deployment.

4. What is Amazon Q Developer?

○ A set of automated reference architectures

An artificial intelligence (AI)-powered coding companion

○ An integrated development environment (IDE)

○ A template for rapid application deployment


Analysis of each answer:

  1. A set of automated reference architectures - INCORRECT
  2. An artificial intelligence (AI)-powered coding companion - SELECTED and CORRECT
  3. An integrated development environment (IDE) - INCORRECT
  4. A template for rapid application deployment - INCORRECT

The answer "An artificial intelligence (AI)-powered coding companion" is correct because Amazon Q Developer is specifically designed as an AI assistant that helps developers write, understand, and improve their code through intelligent suggestions and automation.

5. Which are reasons to use Amazon Q Developer? (Select TWO.)

○ Write compliance tests.

○ Automate for high availability.

○ Share open-source code.

Accelerate coding tasks.

Enhance application security.


Analysis of each answer:

  1. Write compliance tests. - NOT SELECTED and NOT CORRECT
  2. Automate for high availability. - NOT SELECTED and NOT CORRECT
  3. Share open-source code. - NOT SELECTED and NOT CORRECT
  4. Accelerate coding tasks. - SELECTED and CORRECT
  5. Enhance application security. - SELECTED and CORRECT

The selected answers (4 and 5) are correct as they represent the two main value propositions of Amazon Q Developer: improving developer productivity and enhancing code security.

6. What is AWS CloudFormation?

An AWS service that you can use to create, model, and manage AWS resources

○ A description of best practices for designing an AWS implementation

○ A package of all the information that is needed to launch an Amazon EC2 instance

○ A template that describes your infrastructure


Analysis of each answer:

  1. An AWS service that you can use to create, model, and manage AWS resources - SELECTED and CORRECT
  2. A description of best practices for designing an AWS implementation - NOT SELECTED and NOT CORRECT
  3. A package of all the information that is needed to launch an Amazon EC2 instance - NOT SELECTED and NOT CORRECT
  4. A template that describes your infrastructure - NOT SELECTED (but partially correct)

The answer "An AWS service that you can use to create, model, and manage AWS resources" is correct because it captures the complete nature of CloudFormation as both a service and a comprehensive infrastructure management solution, not just a template format.

7. What is AWS CloudFormation Designer?

A graphical design interface for creating AWS CloudFormation templates

○ A source code repository for AWS CloudFormation templates

○ A tool for automating deployments

○ A collection of reusable templates


Analysis of each answer:

  1. A graphical design interface for creating AWS CloudFormation templates - SELECTED and CORRECT
  2. A source code repository for AWS CloudFormation templates - NOT SELECTED and NOT CORRECT
  3. A tool for automating deployments - NOT SELECTED and NOT CORRECT
  4. A collection of reusable templates - NOT SELECTED and NOT CORRECT

The answer "A graphical design interface for creating AWS CloudFormation templates" is correct because it accurately describes CloudFormation Designer's primary function as a visual template authoring and editing tool.

8. Which option can be used to accomplish deployment-specific differences in an AWS CloudFormantion template?

○ Use drift detection.

○ Use change sets.

○ Use AWS CloudFormation Designer.

Use Conditions.

In AWS CloudFormation, conditions allow you to control whether certain resources are created or how resources are configured based on input parameters. This makes them ideal for handling deployment-specific differences like environment variations (dev, staging, production) or regional differences.

Here's why the other options don't fit as well:

Conditions work by evaluating parameters (like an environment name) and then using those conditions in the template to determine resource properties or whether resources should be created at all.

The correct answer is Use conditions.

9. Which option is a good way to preview changes before implementing them in AWS CloudFormation Designer?

○ Visually inspect the template.

○ Run Detect Drift.

Create a change set.

○ Run Update Stack.


Analysis of each answer:

  1. Visually inspect the template. - NOT SELECTED and PARTIALLY CORRECT
  2. Run Detect Drift. - NOT SELECTED and INCORRECT
  3. Create a change set. - SELECTED and CORRECT
  4. Run Update Stack. - NOT SELECTED and INCORRECT

The answer "Create a change set" is correct because change sets are specifically designed to preview the impact of CloudFormation template changes before executing them, allowing for safe, informed decision-making about infrastructure updates.

10. Which option is a good way to know which resources in an application environment were manually modified if the environment was created by running an AWS CloudFormation stack?

○ Run conditions on the stack.

○ Run a change set on the stack.

Run drift detection on the stack.

○ Run a comparison in AWS CloudFormation Designer on the stack.


Analysis of each answer:

  1. Run conditions on the stack. - NOT SELECTED and INCORRECT
  2. Run a change set on the stack. - NOT SELECTED and INCORRECT
  3. Run drift detection on the stack. - SELECTED and CORRECT
  4. Run a comparison in AWS CloudFormation Designer on the stack. - NOT SELECTED and INCORRECT

The answer "Run drift detection on the stack" is correct because drift detection is specifically designed to identify when resources managed by CloudFormation have been manually modified outside of CloudFormation's control, showing exactly which resources drifted and how they differ from the template definition.