Home / AWS Certified Solutions Architect - Professional (SAP-C02) / Mock exam
AWS Certified Solutions Architect - Professional (SAP-C02) Exam-style mock test

AWS Solutions Architect Professional (SAP-C02) Practice Exams|Practice test

Full explanations Exam format Pass line 75%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Design Solutions for Organizational Complexity
A global investment bank streams market-data feeds from its London data center to eu-west-2 over a single 10 Gbps AWS Direct Connect connection. Regulators now require connectivity to survive the failure of an entire Direct Connect location, and the surviving path must sustain at least 5 Gbps of throughput during failover. Which design meets these requirements?
・Order a second 10 Gbps Direct Connect connection at the existing Direct Connect location and bundle both connections into a link aggregation group (LAG).
Incorrect. A LAG at the same Direct Connect location increases bandwidth, but both connections share the same facility, so a failure of that location still severs all connectivity.
・Configure AWS Site-to-Site VPN over the internet as a standby path, using BGP route preferences so traffic shifts to the VPN tunnels automatically whenever the Direct Connect link fails.
Incorrect. Each Site-to-Site VPN tunnel is limited to roughly 1.25 Gbps, so a VPN standby path cannot sustain the required 5 Gbps of failover throughput.
✓Order a second 10 Gbps Direct Connect connection terminating at a different Direct Connect location and associate both with the same Direct Connect gateway.
Correct. A second connection at a separate Direct Connect location removes the single-location failure domain and provides a full 10 Gbps dedicated path, satisfying both the location-resilience and the 5 Gbps failover-throughput requirements.
・Create a Direct Connect gateway and associate the existing connection with virtual private gateways in two additional AWS Regions to provide redundant paths.
Incorrect. Associating the connection with virtual private gateways in more Regions adds destinations, not physical path redundancy; the single Direct Connect location remains a single point of failure.
Explanation
Surviving the loss of an entire Direct Connect location requires a second physical connection at a different location, and only dedicated Direct Connect capacity meets the 5 Gbps failover floor. VPN tunnels cap near 1.25 Gbps each, and same-location LAGs or extra gateway associations do not remove the location-level failure domain.
Sample questions
Example2 · Design for New Solutions
A telehealth provider runs its HIPAA-regulated appointment-scheduling API as an Amazon ECS service on AWS Fargate behind an Application Load Balancer. The compliance team mandates zero-downtime releases, validation of each new build with roughly 10% of production traffic before full cutover, and automatic rollback within minutes if the 5xx error rate rises. Which deployment design meets these requirements?
・Configure the ECS service for rolling updates with minimumHealthyPercent set to 100 and maximumPercent set to 200, and instruct operators to redeploy the previous task definition whenever CloudWatch dashboards show an elevated 5xx error rate.
Incorrect. A rolling update replaces tasks in place with no controlled 10% traffic phase, and rollback is a manual redeploy by operators, which cannot guarantee recovery within minutes.
・Create a second ECS service running the new build and shift users with Route 53 weighted records set to 10%, lowering the weight back to zero if operators observe errors in the new service's logs.
Incorrect. DNS-weighted shifting is subject to resolver and client TTL caching, so neither the 10% split nor an emergency rollback takes effect deterministically within minutes, and the rollback itself is manual.
・Deploy the new task set to a separate target group and have a release engineer swap the ALB listener rule after smoke tests pass, swapping the rule back to the original target group on any failure.
Incorrect. A manual listener-rule swap is all-at-once at cutover, provides no 10% canary phase, and depends on a human to revert the rule, so automatic rollback is not achieved.
✓Use an AWS CodeDeploy blue/green deployment for the ECS service with a canary traffic-shifting configuration on the Application Load Balancer, plus CloudWatch alarms watching the 5xx error-rate metric that automatically trigger a rollback to the previous task set.
Correct. CodeDeploy blue/green for ECS shifts a configurable canary percentage at the ALB, keeps the old task set serving during validation for zero downtime, and rolls back automatically when the linked CloudWatch alarms fire.
Explanation
CodeDeploy blue/green on ECS is the only option that combines ALB-level canary traffic shifting, a parallel green task set for zero downtime, and alarm-driven automatic rollback. The discriminators are the mandated 10% validation phase and rollback that requires no human action.
Example3 · Continuous Improvement for Existing Solutions
A machine-tool manufacturer streams vibration telemetry from 9,000 CNC gateways through AWS IoT Core into Amazon Kinesis Data Streams, where AWS Lambda functions enrich records and write them to Amazon Timestream. When a plant reports missing data, operations engineers spend 3-4 hours manually cross-referencing logs from each service to find where records were dropped. The company wants end-to-end visibility into individual request paths and faster root-cause analysis with minimal code change. What should a solutions architect recommend?
・Enable AWS CloudTrail data events for the Lambda functions and the Kinesis stream, deliver them to CloudWatch Logs, and build Logs Insights queries that join the events by request timestamp.
Incorrect. CloudTrail data events record API control activity for auditing, not per-record processing paths; joining events by timestamp cannot reliably reconstruct an individual record's journey through the pipeline and still requires manual correlation.
✓Enable AWS X-Ray active tracing on the Lambda functions and use the service map and trace views in Amazon CloudWatch to correlate traces with logs and metrics.
Correct. X-Ray active tracing instruments each Lambda invocation with segments that follow a request across Kinesis consumption and downstream Timestream calls, and the CloudWatch service map links traces, logs, and metrics so engineers can pinpoint the exact hop where records are dropped without manual log correlation.
・Create a CloudWatch dashboard that overlays the Kinesis GetRecords.IteratorAgeMilliseconds metric with the Lambda Errors metric, and page the on-call engineer when both alarms trigger together.
Incorrect. A metric overlay dashboard detects that a problem exists (consumer lag plus errors) but provides no per-request path visibility, so engineers would still need to dig through logs service by service to find where records were dropped.
・Install the CloudWatch agent on the plant-floor gateways and forward StatsD metrics so that every failure can be traced from the device all the way to the Timestream database.
Incorrect. The CloudWatch agent emits host and custom metrics from the gateways; it does not propagate trace context through IoT Core, Kinesis, and Lambda, so it cannot show where in the AWS pipeline a record was lost.
Explanation
The requirement is end-to-end request-path visibility across a multi-service pipeline, which is exactly what X-Ray tracing surfaced through the CloudWatch service map provides with only SDK-level instrumentation. Metrics dashboards and CloudTrail events signal that failures happened but cannot follow a single record across service boundaries, and host agents on gateways do not trace the cloud-side hops.
Example4 · Accelerate Workload Migration and Modernization
An online gaming studio runs 600 VMware VMs across two data centers. The security team prohibits installing software agents on the build-farm servers that compile game binaries. Leadership needs utilization-based right-sizing data and a directional TCO business case within 6 weeks, before a data center contract renewal. Which approach meets these requirements?
✓Deploy the Application Discovery Service Agentless Collector on vCenter and feed the collected utilization data into Migration Evaluator for the TCO business case.
Correct. The Agentless Collector gathers VM utilization through vCenter without touching guest operating systems, and Migration Evaluator converts that inventory into a projected-cost business case within the 6-week window.
・Install the Application Discovery Agent on every VM, including the build-farm servers, to capture process-level data, then use AWS Cost Explorer to project the fleet's future AWS spend.
Incorrect. Installing agents on the build-farm servers violates the stated security policy, and AWS Cost Explorer only reports existing AWS usage; it cannot model costs for on-premises workloads that have not migrated.
・Replicate all 600 servers into AWS with Application Migration Service and measure the staging-area cost over a billing cycle.
Incorrect. Application Migration Service is an execution tool for rehosting; replicating 600 servers before a business case is approved incurs significant staging cost and provides no portfolio-level TCO analysis.
・Run AWS Compute Optimizer against an exported inventory file of the VMware fleet to generate right-sizing recommendations and estimated instance pricing for the business case.
Incorrect. Compute Optimizer analyzes resources already running in AWS; it cannot ingest an exported VMware inventory file, so it produces nothing for an on-premises estate.
Explanation
The no-agent constraint on build-farm servers mandates agentless discovery via vCenter, and Migration Evaluator is purpose-built to turn discovered inventory and utilization into a directional TCO business case quickly. Cost Explorer and Compute Optimizer only operate on existing AWS usage, and MGN is a migration tool, not a discovery or business-case tool.
Example5 · Design Solutions for Organizational Complexity
A retail e-commerce group operates 45 AWS accounts with application VPCs in us-east-1, eu-central-1, and ap-southeast-1. Every application VPC must reach shared-services VPCs in its own and the other Regions, plus two on-premises fulfillment centers. The network team insists on centrally managed, transitive routing with minimal connection sprawl. What should a solutions architect recommend?
・Deploy a single transit gateway in us-east-1, share it through AWS Resource Access Manager, and attach every application and shared-services VPC from all three Regions directly to it.
Incorrect. A transit gateway is a Regional resource; VPC attachments must be in the same Region as the transit gateway, so VPCs in eu-central-1 and ap-southeast-1 cannot attach directly to one in us-east-1.
・Establish full-mesh VPC peering connections between all application and shared-services VPCs in the three Regions and keep every route table synchronized with scheduled AWS CloudFormation StackSets deployments across the organization.
Incorrect. VPC peering is non-transitive, so peered VPCs still cannot reach the on-premises fulfillment centers through another VPC, and a 45-account mesh produces hundreds of connections to maintain.
✓Deploy a transit gateway in each Region, share them with the organization through AWS Resource Access Manager, attach the VPCs, and link the Regions with transit gateway peering.
Correct. A per-Region transit gateway shared through AWS RAM gives every account a hub for transitive routing, transit gateway peering joins the Regions, and on-premises connectivity attaches once per hub instead of per VPC.
・Configure AWS VPN CloudHub on a virtual private gateway in each account to interconnect the application VPCs and the two on-premises fulfillment centers.
Incorrect. AWS VPN CloudHub interconnects multiple remote sites over a single virtual private gateway; it does not provide transitive VPC-to-VPC routing across accounts and Regions at this scale.
Explanation
Multi-account, multi-Region transitive routing is the core use case for Regional transit gateways shared via AWS RAM and joined by inter-Region peering. The key discriminators are that transit gateway VPC attachments are Region-bound, VPC peering is non-transitive, and CloudHub only hubs VPN-connected sites.
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)