nerdexam
Amazon

DVA-C02 · Question #241

Given the following AWS CloudFormation template: What is the MOST efficient way to reference the new Amazon S3 bucket from another AWS CloudFormation template?

The correct answer is A. Add an Export declaration to the Outputs section of the original template and use ImportValue in. By adding an Export declaration to the Outputs section of the original CloudFormation template, you can make the bucket name available for other templates to import and use. This allows you to reference the bucket name directly in other templates without the need for additional…

Submitted by lucia.co· Mar 5, 2026Deployment

Question

Given the following AWS CloudFormation template:

What is the MOST efficient way to reference the new Amazon S3 bucket from another AWS CloudFormation template?

Exhibits

DVA-C02 question #241 exhibit 1
DVA-C02 question #241 exhibit 2

Options

  • AAdd an Export declaration to the Outputs section of the original template and use ImportValue in
  • BAdd Exported: true to the Content.Bucket in the original template and use ImportResource in
  • CCreate a custom AWS CloudFormation resource that gets the bucket name from the
  • DUse Fn::Include to include the existing template in other templates and use the ContentBucket

How the community answered

(32 responses)
  • A
    91% (29)
  • B
    3% (1)
  • D
    6% (2)

Explanation

By adding an Export declaration to the Outputs section of the original CloudFormation template, you can make the bucket name available for other templates to import and use. This allows you to reference the bucket name directly in other templates without the need for additional resources or custom logic.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice