Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Amazon AWS Certified Solutions Architect - Professional Exam SAP-C02 Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 47 Total 691 questions

Want more questions? Get Premium Access.

Question 1

New Multiple answers

Topic: Design Solutions for Organizational Complexity

Skill tested: Evaluates resilient hybrid connectivity design using Direct Connect, VPN, and Transit Gateway routing.

A financial services company operates workloads in six AWS accounts across two Regions. Its data centers connect to AWS through two Direct Connect connections that terminate at separate Direct Connect locations, and the company uses a Transit Gateway in each Region. A single Direct Connect failure must not interrupt access to the workloads. The company also requires encrypted traffic over the public internet as a backup, while keeping routing manageable as new VPCs are added. Which two changes best satisfy these requirements? Select TWO.

Correct Answer: B. Establish Site-to-Site VPN connections over the internet to the Transit Gateways, and use them as encrypted backup paths with appropriate routing.; C. Use a Direct Connect gateway to associate the connections with the Transit Gateways, and configure the required transit virtual interfaces and route propagation.
Explanation:

A Direct Connect gateway with transit virtual interfaces provides scalable private connectivity between the on-premises network and Transit Gateways, avoiding per-VPC connection growth. Site-to-Site VPN connections to the Transit Gateways provide encrypted internet-based backup connectivity; routing preferences can favor Direct Connect and fail over to VPN. Per-VPC private virtual interfaces do not scale cleanly and do not provide the required Transit Gateway integration. A public virtual interface is for access to AWS public services, not private VPC routes. VPC peering does not connect an on-premises network and is not transitive.

Question 2

New Single answer

Topic: Design Solutions for Organizational Complexity

Skill tested: Assesses centralized multi-account network segmentation and controlled cross-account VPC connectivity.

A company has separate AWS accounts for production, development, and shared services. VPCs in each account must exchange selected application traffic through a centrally managed inspection VPC. The security team requires one point for routing policy enforcement and wants new VPCs onboarded without building a full mesh of connections. The company also needs to prevent development workloads from initiating connections to production. Which architecture is most appropriate?

Correct Answer: A. Deploy a Transit Gateway in a network account, attach the VPCs, and use separate Transit Gateway route tables with controlled propagation and inspection routing.
Explanation:

A Transit Gateway provides hub-and-spoke connectivity across VPCs and accounts. Separate Transit Gateway route tables and controlled association and propagation can enforce segmentation, steer eligible traffic through an inspection VPC, and prevent development-to-production routing. VPC peering is nontransitive, so a full mesh would be needed and security groups cannot make it transitive. A shared VPC does not turn separate accounts' VPCs into one network or provide the required central routing model. Site-to-Site VPN is intended for network-to-network connectivity and would add unnecessary pairwise complexity.

Question 3

New Single answer

Topic: Design Solutions for Organizational Complexity

Skill tested: Evaluates centralized network flow visibility and cost attribution across AWS accounts.

An organization uses several AWS accounts and wants a single place to analyze VPC traffic metadata for security investigations and network cost allocation. It must retain flow records centrally for long-term analysis, while allowing account owners to manage their own VPCs. The organization does not need packet contents. Which approach best meets these requirements with minimal operational duplication?

Correct Answer: D. Enable VPC Flow Logs in each account, deliver the logs to centrally managed Amazon S3, and use cross-account permissions and centralized analytics.
Explanation:

VPC Flow Logs capture metadata about IP traffic to and from network interfaces, subnets, or VPCs without recording packet contents. Delivering logs to a central S3 location supports durable retention and centralized analysis, while cross-account access preserves account ownership. Traffic mirroring captures packets, creates substantially more data, and is unnecessary when metadata suffices. CloudTrail records API activity rather than network flows. Flow Logs in the networking account do not automatically record traffic for other accounts' VPC network interfaces.

Question 4

New Multiple answers

Topic: Design Solutions for Organizational Complexity

Skill tested: Assesses hybrid DNS resolution configuration across a shared-services VPC and on-premises networks.

A company has workloads in multiple VPCs connected through a Transit Gateway. The VPCs use Route 53 private hosted zones, and on-premises clients must resolve selected names in those zones. AWS workloads must also resolve names hosted on the corporate DNS servers. The company wants centralized DNS forwarding without deploying DNS software on EC2 instances. Which two actions should the architect take? Select TWO.

Correct Answer: C. Create Route 53 Resolver outbound endpoints and forwarding rules for corporate DNS namespaces, and associate the rules with the required VPCs.; E. Create Route 53 Resolver inbound endpoints in a VPC reachable from on premises, and configure corporate DNS conditional forwarding to those endpoints.
Explanation:

Inbound Resolver endpoints accept DNS queries from on-premises clients, which can reach them over the existing hybrid network; corporate DNS conditional forwarding directs selected private-zone queries to them. Outbound endpoints and forwarding rules send queries from AWS VPCs to corporate DNS servers, and associating rules with the relevant VPCs enables shared use. Public hosted zones would expose or require publication of records unsuitable for private resolution. DHCP option sets do not create a forwarding rule for private hosted zones to on-premises. Query logging records queries but does not forward or resolve them.

Question 5

New Single answer

Topic: Design for New Solutions

Skill tested: Evaluates CloudFormation deployment strategies for safe, repeatable multi-account infrastructure changes.

A platform team deploys a shared network baseline to dozens of AWS accounts using CloudFormation StackSets. A proposed change modifies route tables and security groups, and the team must detect unintended replacements or deletions before production deployment. Account administrators must not edit the deployed baseline directly. Which process best meets these requirements?

Correct Answer: D. Use StackSets with service-managed permissions, stage the update to a canary organizational unit, review a change set for the stack update, and expand deployment after validation.
Explanation:

StackSets with service-managed permissions support centrally managed deployment across accounts in an AWS Organization. A canary organizational unit limits blast radius, while a change set shows the proposed stack changes before execution, allowing the team to identify replacements and deletions. Direct rollout provides no staged validation. Independent copies undermine consistent governance and increase drift. A stack in the management account cannot directly own and deploy resources in every target account merely by sharing resources.

Question 6

New Multiple answers

Topic: Design for New Solutions

Skill tested: Assesses CloudFormation drift detection and change-set controls for governed infrastructure updates.

A regulated organization provisions production VPCs with CloudFormation. Operators sometimes make emergency console changes, and reviewers require evidence that an approved template update will not silently overwrite unrelated resources. The organization wants to identify out-of-band changes and review planned changes before applying them. Which two practices should the team implement? Select TWO.

Correct Answer: C. Run CloudFormation drift detection on supported stack resources and investigate detected differences against the template.; E. Create and review a change set for each proposed stack update before executing it.
Explanation:

Drift detection compares supported resources' actual configurations with their expected template configurations, helping identify out-of-band changes. A change set previews the changes CloudFormation plans to make for a proposed update and supports approval before execution. Termination protection prevents accidental stack deletion; it does not detect drift. Manual-only updates undermine infrastructure-as-code governance. Stack policies can protect selected resources from unintended update actions, but they neither report drift nor show the complete proposed update.

Question 7

New Single answer

Topic: Design for New Solutions

Skill tested: Evaluates AWS Site-to-Site VPN resilience and routing failover for hybrid workloads.

A company is launching a new application in a private VPC that must remain reachable from its data center during a single tunnel failure. The VPC is connected to an on-premises customer gateway through AWS Site-to-Site VPN. The on-premises routers support BGP, and the company wants automatic route convergence without maintaining static route changes. Which configuration is most appropriate?

Correct Answer: D. Use a VPN connection with both tunnels configured, establish BGP sessions over both tunnels, and configure the on-premises routing to accept and prefer the intended AWS routes.
Explanation:

An AWS Site-to-Site VPN connection provides two tunnels, and BGP over both supports dynamic route exchange and convergence when a tunnel becomes unavailable. The on-premises routing policy can determine preferred paths and avoid manual route changes. A single tunnel cannot meet the single-tunnel-failure requirement, and an application health check does not itself update network routes. Duplicate static VPN connections do not automatically provide the intended routing behavior without appropriate route configuration. A public virtual interface is not encrypted private VPC connectivity.

Question 8

New Multiple answers

Topic: Design for New Solutions

Skill tested: Assesses resilient Direct Connect architecture and encrypted VPN backup path selection.

A manufacturer is designing a hybrid network for an application with strict recovery requirements. Its primary path must provide predictable private connectivity, and the backup path must be encrypted over the internet. A failure at one Direct Connect location must not remove all private connectivity. The on-premises team can use BGP and wants to avoid manual failover. Which two design decisions best satisfy these constraints? Select TWO.

Correct Answer: B. Provision Direct Connect connections at separate locations and configure redundant connectivity and BGP route advertisement.; C. Add Site-to-Site VPN connectivity as a backup and use routing policy to prefer Direct Connect while retaining VPN routes for failover.
Explanation:

Connections at separate Direct Connect locations reduce exposure to a location-level failure, while BGP supports dynamic route exchange and path selection. Site-to-Site VPN provides the required encrypted internet backup; routing preferences can make Direct Connect primary and VPN available for failover. Two connections in one location do not protect against loss of that location. Manually removing backup routes defeats automatic failover. A public virtual interface does not provide automatic encryption and is intended to access AWS public services, not private VPC routes.

Question 9

New Single answer

Topic: Design for New Solutions

Skill tested: Evaluates VPC subnet routing and security controls for private application-tier isolation.

A company is deploying a three-tier application in a new VPC. Application instances must retrieve software updates from the internet, but they must not accept inbound connections from the internet or receive public IP addresses. The database tier must have no direct internet route. The company wants managed outbound translation and explicit network segmentation. Which design best meets the requirements?

Correct Answer: A. Place application instances in private subnets with a route to a NAT gateway in a public subnet, and place databases in private subnets with no default internet route.
Explanation:

Private application subnets can send outbound internet traffic through a NAT gateway in a public subnet without assigning public IP addresses or allowing unsolicited inbound internet connections. Database subnets with no default internet route remain isolated from direct internet access. Public subnets with public IPs violate the application's no-public-address requirement, even if security groups restrict inbound traffic. A public database subnet is unnecessarily exposed. A route from a private subnet directly to an internet gateway does not provide the required outbound-only translation for instances without public IP addresses.

Question 10

New Single answer

Topic: Continuous Improvement for Existing Solutions

Skill tested: Diagnoses asymmetric routing and route propagation issues in a Transit Gateway network.

After moving an application VPC behind a Transit Gateway, clients in the on-premises network can open a TCP connection to the application, but responses time out intermittently. The application subnet route table points to the Transit Gateway. The Transit Gateway attachment is associated with a route table that has a route to the on-premises attachment, but the on-premises attachment's associated route table does not contain a route to the application VPC. BGP sessions are healthy. What should the network engineer do next?

Correct Answer: B. Add or propagate the application VPC route into the Transit Gateway route table associated with the on-premises attachment, then verify the on-premises router learns the route.
Explanation:

Transit Gateway route tables are selected by attachment association; a route present in the application attachment's table does not ensure that traffic arriving through the on-premises attachment has a valid route to the VPC. Adding or propagating the VPC route in the route table associated with the on-premises attachment restores the return path, after which the route must be advertised or otherwise available to the on-premises router. VPC peering is nontransitive and does not provide on-premises routing. Load balancer timeouts and security groups cannot fix a missing network route; a Transit Gateway is not controlled by security-group ingress rules.

Question 11

New Multiple answers

Topic: Continuous Improvement for Existing Solutions

Skill tested: Assesses remediation of overly permissive VPC security groups and subnet network ACLs.

A security review finds that an application VPC permits SSH from the entire internet and has broad network ACL rules. Administrators need shell access for maintenance, but instances must not have public IP addresses. The company already operates a hardened bastion host in a controlled management subnet and uses security groups for application-tier communication. Which two changes best improve the network security posture while preserving the maintenance workflow? Select TWO.

Correct Answer: A. Remove the broad internet SSH rule and review network ACL rules to allow only required subnet-level traffic, including return traffic.; C. Restrict SSH ingress on the application instances' security groups to the bastion host's security group.
Explanation:

Restricting application security-group ingress to the bastion security group preserves administrative access through the controlled entry point without permitting direct internet SSH. Removing broad network ACL rules and allowing only necessary traffic improves subnet-level filtering; because network ACLs are stateless, required return traffic must also be allowed. Public IP addresses are unnecessary and increase exposure. Network ACLs are stateless, not stateful, so replacing security groups with them does not provide automatic return traffic. A permissive ACL would continue to expose the subnet even if a bastion exists.

Question 12

New Single answer

Topic: Continuous Improvement for Existing Solutions

Skill tested: Evaluates targeted network performance diagnosis using VPC Flow Logs and path-level evidence.

Users report intermittent connection failures between an application in one VPC and a database in another VPC. The VPCs are connected through a Transit Gateway, and the application team has confirmed that database security groups allow the expected port. The network team needs to determine whether traffic is being rejected at network interfaces or whether routing is failing, without capturing packet payloads. What is the best next diagnostic step?

Correct Answer: A. Enable VPC Flow Logs for the relevant network interfaces or VPCs and inspect accepted and rejected records alongside Transit Gateway routes.
Explanation:

VPC Flow Logs provide accepted and rejected traffic metadata at network interfaces, subnets, or VPCs, helping distinguish traffic filtering from other connectivity problems without collecting payloads. Reviewing the relevant Transit Gateway route tables alongside the flow records can expose missing or incorrect routes. CloudTrail records AWS API activity, not dropped TCP packets. Packet mirroring captures packet data and is excessive when metadata is sufficient. Increasing application timeouts does not resolve a routing or filtering defect.

Question 13

New Single answer

Topic: Accelerate Workload Migration and Modernization

Skill tested: Assesses workload migration planning with AWS Application Migration Service and staged cutover.

A company must migrate a large fleet of VMware-hosted Linux servers to AWS with minimal application changes. The source environment must remain available during migration, and the business wants to rehearse cutovers before moving production traffic. The servers have conventional disk-based workloads, and the company can establish network connectivity to AWS. Which migration approach is most appropriate?

Correct Answer: D. Use AWS Application Migration Service to replicate the source servers continuously, launch test instances for validation, and perform a controlled cutover after testing.
Explanation:

AWS Application Migration Service supports lift-and-shift server migration by continuously replicating source server disks to AWS and launching test instances for validation before cutover. This meets the minimal-change requirement and allows the source environment to remain operational during preparation. Database Migration Service migrates databases, not complete server operating systems and application filesystems. Creating images and immediately replacing production systems provides less opportunity for rehearsal and may not meet the cutover-control requirement. Container refactoring is not required for a lift-and-shift migration.