exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 353 discussion

A developer at a company writes an AWS CloudFormation template. The template refers to subnets that were created by a separate AWS CloudFormation template that the company's network team wrote. When the developer attempts to launch the stack for the first time, the launch fails.

Which template coding mistakes could have caused this failure? (Choose two.)

  • A. The developer's template does not use the Ref intrinsic function to refer to the subnets.
  • B. The developer's template does not use the ImportValue intrinsic function to refer to the subnets.
  • C. The Mappings section of the developer's template does not refer to the subnets.
  • D. The network team's template does not export the subnets in the Outputs section.
  • E. The network team's template does not export the subnets in the Mappings section.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
preachr
7 months ago
Selected Answer: BD
The intrinsic function Fn::ImportValue returns the value of an output exported by another stack. You typically use this function to create cross-stack references.
upvoted 2 times
...
KennethNg923
8 months, 2 weeks ago
Selected Answer: BD
B. When referencing resources from another stack, the ImportValue function should be used. If the developer didn't use this, it would cause a failure when trying to reference the subnets. D. For a resource to be imported by another stack, it needs to be exported in the Outputs section of the original stack. If the network team didn't export the subnets, they can't be imported by the developer's stack.
upvoted 3 times
...
65703c1
11 months, 2 weeks ago
Selected Answer: BD
BD is the correct answer.
upvoted 1 times
...
Lucky4Life
11 months, 2 weeks ago
Selected Answer: BD
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html
upvoted 3 times
...
mehanizator
1 year ago
Selected Answer: BD
ChatGPT: BD
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago