AWS Certified Solutions Architect – Professional — Question 513
ABC has three separate departments and each department has their own AWS accounts. The HR department has created a file sharing site where all the on roll employees' data is uploaded. The Admin department uploads data about the employee presence in the office to their DB hosted in the VPC. The Finance department needs to access data from the HR department to know the on roll employees to calculate the salary based on the number of days that an employee is present in the office.
How can ABC setup this scenario?
Answer options
- A. It is not possible to configure VPC peering since each department has a separate AWS account.
- B. Setup VPC peering for the VPCs of Admin and Finance.
- C. Setup VPC peering for the VPCs of Finance and HR as well as between the VPCs of Finance and Admin.
- D. Setup VPC peering for the VPCs of Admin and HR
Correct answer: C
Explanation
To allow the Finance department to access resources in both the HR and Admin VPCs, direct VPC peering connections must be established between Finance and HR, as well as between Finance and Admin. Since VPC peering is non-transitive, Finance cannot route through another VPC to access these resources. VPC peering fully supports cross-account connections, making other options incorrect or incomplete.