ANS-C01 · Question #19
A network engineer must develop an AWS CloudFormation template that can create a virtual private gateway, a customer gateway, a VPN connection, and static routes in a route table. During testing of…
The correct answer is D. Add the DependsOn attribute to the resource declaration for the route table entry. Specify the. https://docs.aws.amazon.com/vpn/latest/s2svpn/SetUpVPNConnections.html That means you must create the virtual private gateway before creating the route table. AWS CloudFormation does not support configuring detailed run order of creating resources. However, when you add a…
Question
A network engineer must develop an AWS CloudFormation template that can create a virtual private gateway, a customer gateway, a VPN connection, and static routes in a route table. During testing of the template, the network engineer notes that the CloudFormation template has encountered an error and is rolling back. What should the network engineer do to resolve the error?
Options
- AChange the order of resource creation in the CloudFormation template.
- BAdd the DependsOn attribute to the resource declaration for the virtual private gateway. Specify
- CAdd a wait condition in the template to wait for the creation of the virtual private gateway.
- DAdd the DependsOn attribute to the resource declaration for the route table entry. Specify the
How the community answered
(39 responses)- A21% (8)
- B10% (4)
- C5% (2)
- D64% (25)
Explanation
https://docs.aws.amazon.com/vpn/latest/s2svpn/SetUpVPNConnections.html That means you must create the virtual private gateway before creating the route table. AWS CloudFormation does not support configuring detailed run order of creating resources. However, when you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-
Topics
Community Discussion
No community discussion yet for this question.