← All DevOps Engineering on AWS Certification Flashcard Decks

Infrastructure as Code with CloudFormation and CDK Flashcards

6 cards from real DevOps Engineering on AWS Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 6 Infrastructure as Code with CloudFormation and CDK flashcards as text
  1. Which CloudFormation resource property allows you to specify that a resource must be created before another resource?

    Answer: DependsOn

    The DependsOn attribute ensures CloudFormation creates the specified resource before the resource that contains the DependsOn property.

  2. What CloudFormation policy prevents a resource from being deleted when the stack is deleted?

    Answer: DeletionPolicy: Retain

    Setting DeletionPolicy to Retain preserves the resource after the CloudFormation stack is deleted.

  3. Which AWS CDK construct level represents a single AWS resource with sensible defaults?

    Answer: L2 (Resource)

    L2 constructs are curated AWS resource constructs with sensible defaults that abstract CloudFormation resource properties.

  4. What CloudFormation function retrieves the value of a parameter or resource output from the same template?

    Answer: Ref

    The Ref function returns the value of a parameter or the default attribute of a resource defined in the same CloudFormation template.

  5. In AWS CDK, which command synthesizes the CDK app into CloudFormation templates?

    Answer: cdk synth

    The cdk synth command synthesizes your CDK application and outputs the equivalent CloudFormation templates.

  6. Which CloudFormation feature allows you to share output values from one stack with another stack in the same account and region?

    Answer: Cross-stack references using Exports and Fn::ImportValue

    Cross-stack references use Outputs with Export names in one stack and Fn::ImportValue in another stack to share values within the same region.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. docs.aws.amazon.com — Exam information · verified Oct 2026
  2. pearsonvue.com — Eligibility · verified Oct 2026
  3. aws.amazon.com — Test delivery, fees, exam format, time limit, score validity, renewal, passing score, retake policy, score release, exam information · verified Oct 2026