DEA-C01 exam dumps

DEA-C01 practice question 130 of 550

AWS Certified Data Engineer - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

DEA-C01 Question 130

Single answer

You are designing an automated deployment pipeline for a data processing application on AWS. The pipeline needs to ensure repeatable, consistent infrastructure across multiple environments (e.g., development, staging, and production). You decide to use AWS CloudFormation to define the infrastructure as code. During the deployment process, you want to ensure that the application configuration differs across environments (e.g., different database connection strings and instance sizes) without duplicating the entire CloudFormation template for each environment. Which feature of AWS CloudFormation allows you to achieve this?

  1. A

    Parameters

  2. B

    Stacks

  3. C

    Change Sets

  4. D

    Nested Stacks

Show answer and explanation

Correct answer: A

Explanation

AWS CloudFormation Parameters are designed to enable dynamic input for CloudFormation templates. By using Parameters, you can provide different values (e.g., environment-specific configurations) during stack creation or update, ensuring that the same template can be reused across different environments without duplication. This approach supports the principle of Infrastructure as Code (IaC) for repeatable and consistent deployments.

  • A. Correct.

    Parameters allow you to define dynamic values in a CloudFormation template, such as environment-specific configurations (e.g., database connection strings). This prevents duplication of templates across environments.

  • B. Incorrect.

    Stacks are the resources created by executing a CloudFormation template, but they do not provide the capability to vary configurations dynamically across environments.

  • C. Incorrect.

    Change Sets are used to preview changes before updating a stack but are not related to defining environment-specific configurations.

  • D. Incorrect.

    Nested Stacks are used to organize and reuse parts of a CloudFormation template but are not specifically designed for dynamic environment-specific configurations.

Timed practice exam

Take a DEA-C01 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam