DBS-C01 · Question #158
A company hosts an internal file-sharing application running on Amazon EC2 instances in VPC_A. This application is backed by an Amazon ElastiCache cluster, which is in VPC_B and peered with VPC_A. The
The correct answer is D. Modify the ElastiCache security group by adding an inbound rule that allows traffic from the EC2. https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html
Question
A company hosts an internal file-sharing application running on Amazon EC2 instances in VPC_A. This application is backed by an Amazon ElastiCache cluster, which is in VPC_B and peered with VPC_A. The company migrates its application instances from VPC_A to VPC_B. Logs indicate that the file-sharing application no longer can connect to the ElastiCache cluster. What should a database specialist do to resolve this issue?
Options
- ACreate a second security group on the EC2 instances.
- BDelete the ElastiCache security group. Add an interface VPC endpoint to enable the EC2
- CModify the ElastiCache security group by adding outbound rules that allow traffic to VPC_B's
- DModify the ElastiCache security group by adding an inbound rule that allows traffic from the EC2
How the community answered
(41 responses)- A17% (7)
- B7% (3)
- C2% (1)
- D73% (30)
Explanation
https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html
Topics
Community Discussion
No community discussion yet for this question.