ANS-C01 · Question #79
An AWS CloudFormation template is being used to create a VPC peering connection between two existing operational VPCs, each belonging to a different AWS account. All necessary components in the Remote
Sign in or unlock ANS-C01 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.
Question
An AWS CloudFormation template is being used to create a VPC peering connection between two existing operational VPCs, each belonging to a different AWS account. All necessary components in the `Remote' (receiving) account are already in place. The template below creates the VPC peering connection in the Originating account. It contains these components:
AWSTemplateFormation Version: 2010-09-09 Parameters:
Originating VCId:
Type: String RemoteVPCId:
Type: String RemoteVPCAccountId:
Type: String Resources:
newVPCPeeringConnection:
Type: `AWS::EC2::VPCPeeringConnection' Properties:
VpcdId: !Ref OriginatingVPCId PeerVpcId: !Ref RemoteVPCId PeerOwnerId: !Ref RemoteVPCAccountId Which additional AWS CloudFormation components are necessary in the Originating account to create an operational cross-account VPC peering connection with AWS CloudFormation? (Select two.)
Options
- AResources:NewEC2SecurityGroup:Type: AWS::EC2::SecurityGroup
- BResources:NetworkInterfaceToRemoteVPC:Type: "AWS::EC2NetworkInterface"
- CResources:newEC2Route:Type: AWS::EC2::Route
- DResources:VPCGatewayToRemoteVPC:Type: "AWS::EC2::VPCGatewayAttachment"
- EResources:newVPCPeeringConnection:Type:
Unlock ANS-C01 to see the answer
You've previewed enough free ANS-C01 questions. Unlock ANS-C01 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.