Sample questions with answers and explanations
Question 1
A company has multiple VPCs with overlapping CIDR ranges because of past acquisitions. Applications in these VPCs must call a central API in the shared services VPC. Changing the IP ranges is not possible. Which solution meets this requirement?
- Expose the central API through AWS PrivateLink and create interface endpoints in each consuming VPC. — Correct
- Attach all VPCs to a Transit Gateway and add routes for the overlapping CIDR ranges to the shared services VPC.
- Create a Site-to-Site VPN between each VPC and the shared services VPC with BGP routing.
- Create VPC peering connections between each VPC and the shared services VPC with propagated routes.
Correct answer
Expose the central API through AWS PrivateLink and create interface endpoints in each consuming VPC.
Explanation
PrivateLink works regardless of overlapping CIDRs because consumers connect through local endpoint IPs. Transit Gateway, peering, and VPN routing do not support overlapping ranges without NAT.
Question 2
A company must send all traffic between VPCs in different Regions over the AWS backbone with encryption, and wants central management. Which option fits BEST?
- Direct Connect from each Region to the data center and back
- VPN connections over the internet between each VPC pair
- Public load balancers in each Region with TLS
- Transit Gateway inter-Region peering (or Cloud WAN) — Correct
Correct answer
Transit Gateway inter-Region peering (or Cloud WAN)
Explanation
Inter-Region Transit Gateway peering and Cloud WAN use the AWS backbone with encryption and central routing. VPNs over the internet and hairpinning through the data center are less efficient. Public load balancers expose traffic.
Question 3
A company uses Amazon S3 for critical data and requires that a copy be kept in another Region and in a separate AWS account so that a compromised production account cannot delete it. Which configuration fits BEST?
- S3 Intelligent-Tiering with Archive Access tiers in the production account's bucket.
- S3 Replication to a bucket in another Region owned by a separate account, with Object Lock on the destination. — Correct
- S3 Versioning in the production bucket with MFA delete enabled by the root user of the production account.
- A daily Lambda function in the production account that copies objects to another bucket in the same account.
Correct answer
S3 Replication to a bucket in another Region owned by a separate account, with Object Lock on the destination.
Explanation
Cross-account, cross-Region replication with Object Lock protects copies from a compromised source account. Versioning in the same account can still be affected. Same-account copies share the risk. Storage tiers are not backups.
Question 4
A company wants to back up EC2, EBS, RDS, DynamoDB, and EFS across 40 accounts with centrally defined policies, immutable vaults, and cross-Region copies. Which approach fits BEST?
- AWS Backup organization policies with Vault Lock and cross-account copies — Correct
- Database exports to S3 from each application with its own scripts
- Manual snapshots taken by each team according to a shared runbook
- Custom Lambda functions in each account that create snapshots and copy them every night
Correct answer
AWS Backup organization policies with Vault Lock and cross-account copies
Explanation
Organization-wide AWS Backup policies centralize protection with immutability and copies. Custom functions, manual snapshots, and per-app exports are inconsistent.
Question 5
A company needs to keep network traffic between its VPCs and AWS services in specific accounts only (a data perimeter at the network layer). Which controls apply? (Choose TWO.)
- Route tables that block traffic to resources in other AWS accounts by account ID
- Security groups that allow traffic only to resources owned by specific accounts
- Network ACLs that inspect the AWS account ID in each API request
- VPC endpoint policies that allow access only to resources in the organization (aws:ResourceOrgID) — Correct
- SCPs or RCPs with aws:SourceVpce or aws:SourceVpc conditions for sensitive data access — Correct
Correct answer
VPC endpoint policies that allow access only to resources in the organization (aws:ResourceOrgID); SCPs or RCPs with aws:SourceVpce or aws:SourceVpc conditions for sensitive data access
Explanation
Endpoint policies and SCP/RCP network conditions build a data perimeter. Security groups, route tables, and NACLs work with IP addresses and cannot evaluate accounts.