nerdexam
Amazon

DVA-C02 · Question #53

A developer is creating an AWS CloudFormation template to deploy Amazon EC2 instances across multiple AWS accounts. The developer must choose the EC2 instances from a list of approved instance types.

The correct answer is D. In the CloudFormation template, create a parameter with the list of EC2 instance types as. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section- InstanceTypeParameter: Default: t2.micro Description: Enter t2.micro, m1.small, or m1.large. Default is t2.micro.

Submitted by weili_xi· Mar 5, 2026Deployment

Question

A developer is creating an AWS CloudFormation template to deploy Amazon EC2 instances across multiple AWS accounts. The developer must choose the EC2 instances from a list of approved instance types. How can the developer incorporate the list of approved instance types in the CloudFormation template?

Options

  • ACreate a separate CloudFormation template for each EC2 instance type in the list.
  • BIn the Resources section of the CloudFormation template, create resources for each EC2
  • CIn the CloudFormation template, create a separate parameter for each EC2 instance type in the
  • DIn the CloudFormation template, create a parameter with the list of EC2 instance types as

How the community answered

(50 responses)
  • A
    6% (3)
  • B
    14% (7)
  • C
    2% (1)
  • D
    78% (39)

Explanation

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section- InstanceTypeParameter: Default: t2.micro Description: Enter t2.micro, m1.small, or m1.large. Default is t2.micro.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice