ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 79 - ANS-C01 discussion

Report
Export

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.)

A.
Resources:NewEC2SecurityGroup:Type: AWS::EC2::SecurityGroup
Answers
A.
Resources:NewEC2SecurityGroup:Type: AWS::EC2::SecurityGroup
B.
Resources:NetworkInterfaceToRemoteVPC:Type: “AWS::EC2NetworkInterface”
Answers
B.
Resources:NetworkInterfaceToRemoteVPC:Type: “AWS::EC2NetworkInterface”
C.
Resources:newEC2Route:Type: AWS::EC2::Route
Answers
C.
Resources:newEC2Route:Type: AWS::EC2::Route
D.
Resources:VPCGatewayToRemoteVPC:Type: “AWS::EC2::VPCGatewayAttachment”
Answers
D.
Resources:VPCGatewayToRemoteVPC:Type: “AWS::EC2::VPCGatewayAttachment”
E.
Resources:newVPCPeeringConnection:Type: ‘AWS::EC2VPCPeeringConnection’PeerRoleArn: !Ref PeerRoleArn
Answers
E.
Resources:newVPCPeeringConnection:Type: ‘AWS::EC2VPCPeeringConnection’PeerRoleArn: !Ref PeerRoleArn
Suggested answer: C, E

Explanation:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_EC2.html

asked 16/09/2024
Sharon Sandhu
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first