ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 268 - SOA-C02 discussion

Report
Export

A SysOps administrator creates two VPCs, VPC1 and VPC2, in a company's AWS account The SysOps administrator deploys a Linux Amazon EC2 instance in VPC1 and deploys an Amazon RDS for MySQL DB instance in VPC2. The DB instance is deployed in a private subnet. An application that runs on the EC2 instance needs to connect to the database. What should the SysOps administrator do to give the EC2 instance the ability to connect to the database?

A.
Enter the DB instance connection string into the VPC1 route table.
Answers
A.
Enter the DB instance connection string into the VPC1 route table.
B.
Configure VPC peering between the two VPCs.
Answers
B.
Configure VPC peering between the two VPCs.
C.
Add the same IPv4 CIDR range for both VPCs.
Answers
C.
Add the same IPv4 CIDR range for both VPCs.
D.
Connect to the DB instance by using the DB instance's public IP address.
Answers
D.
Connect to the DB instance by using the DB instance's public IP address.
Suggested answer: B

Explanation:

VPC peering allows two VPCs to communicate with each other securely. By configuring VPC peering between the two VPCs, the SysOps administrator will be able to give the EC2 instance in VPC1 the ability to connect to the database in VPC2. Once the VPC peering is configured, the EC2 instance will be able to communicate with the database using the private IP address of the DB instance in the private subnet.

asked 16/09/2024
Anshul Vyas
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first