10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.
The SAP-C02 exam has 75 questions and runs 3 hours.
These 10 free SAP-C02 questions are organized by exam domain, so you can see how each part of the AWS Certified Solutions Architect - Professional blueprint is tested. Reveal the answer and explanation under each question.
Domain 1: Design Solutions for Organizational Complexity 26% of exam
Question 1
A software vendor must expose a proprietary TCP service to customers in separate AWS accounts in the same Region. The vendor and several customers use overlapping IPv4 CIDR ranges that cannot be changed. Customers initiate every connection, prohibit internet egress for this service, and must not gain network access to the vendor's other applications. The vendor must approve each customer's connection. Which connectivity model fits these constraints?
Show answer & explanation
Correct answer: C - Publish an NLB-backed AWS PrivateLink endpoint service with connection acceptance enabled; authorize customer principals and have customers create interface endpoints.
Question 2
An analytics role in one AWS account reads an S3 bucket owned by another account. Its identity policy and the bucket policy allow GetObject for the required prefix. Reads of SSE-S3 objects succeed, but reads of objects encrypted with a particular customer-managed KMS key fail. No applicable policy contains an explicit deny. The role has no KMS permissions, and the key policy authorizes only principals in the bucket owner's account. Which least-privilege change enables reads of the existing encrypted objects?
Show answer & explanation
Correct answer: D - Allow kms:Decrypt for the analytics role in the key policy and allow the same action on that key in the role's identity policy.
Question 3
An AWS Organizations SCP attached to the Production OU explicitly denies ec2:RunInstances outside eu-west-1. A subsidiary account must remain in that OU. Its MigrationProvisioner role has now been approved to launch instances in eu-central-1; all other roles must retain the original Region restriction. The role already has the necessary EC2 permissions, and there are no other blocking policies. An allow-only SCP attached to the subsidiary account did not enable the launch. How should the exception be implemented?
Show answer & explanation
Correct answer: C - Revise the inherited deny so it excludes only the approved role's launches in eu-central-1, preserving the restriction for other principals and Regions.
Domain 2: Design for New Solutions 29% of exam
Question 4
An order service consumes an Amazon SQS FIFO queue. Each message carries a stable order ID, and each order must decrement inventory exactly once. A worker commits an inventory decrement in Aurora PostgreSQL, then crashes before deleting the message. After the visibility timeout, another worker processes the message and decrements inventory again. Both attempts occur within five minutes of the original send. What change prevents a second decrement without losing an order whose first attempt did not commit?
Show answer & explanation
Correct answer: A - Record the order ID under a unique constraint and decrement inventory in one database transaction; delete the message after confirming that transaction committed.
Question 5
A CloudFormation change set will replace an RDS DB instance. The database resource already specifies DeletionPolicy: Retain. The approved replacement must proceed, but the original physical DB instance must remain available for seven days of reconciliation; a snapshot alone is insufficient. Data migration and application cutover are handled separately. What additional resource-lifecycle control is needed?
Show answer & explanation
Correct answer: A - Set UpdateReplacePolicy: Retain on the database resource and manage the retained instance separately during reconciliation.
Question 6
An inventory API will perform 1,200 GetItem reads per second against a DynamoDB table. Each complete item is 6 KiB, requests are evenly distributed across partition keys, and every read must reflect all previously completed writes. These are nontransactional reads. The architect must provision 25% more read capacity than the calculated sustained demand; burst capacity is not part of the plan. Which configuration meets the requirements with the smallest provisioned read capacity?
Show answer & explanation
Correct answer: D - Provision 3,000 RCUs and issue strongly consistent GetItem requests directly to the table.
Domain 3: Continuous Improvement for Existing Solutions 25% of exam
Question 7
A checkout release is receiving 10% of production traffic through a canary deployment. Over the evaluation window, the established version has a p99 latency of 240 ms and the canary has a p99 of 940 ms. The combined mean latency is 70 ms, and both versions have error rates below 0.2%. Each version has sufficient traffic for its measurements. The release gate requires p99 latency below 500 ms for the new version. Database changes remain compatible with the established version. How should the release owner respond?
Show answer & explanation
Correct answer: B - Return the canary's traffic to the established version and investigate the new version's tail latency before attempting another rollout.
Question 8
CloudTrail data events show ongoing unauthorized S3 deletions signed with a long-lived IAM access key that was exposed in a public repository. The key belongs to a legacy importer whose IAM user cannot assume roles or modify IAM. Checkout and fulfillment use separate roles. S3 Versioning and centralized audit logging are already enabled. The importer can be interrupted, but checkout must remain available. Which immediate action most directly contains this access while preserving recovery evidence?
Show answer & explanation
Correct answer: A - Deactivate the exposed key and attach a temporary deny-all policy to the importer user; preserve object versions and audit logs.
Domain 4: Accelerate Workload Migration and Modernization 20% of exam
Question 9
An Oracle order database is moving to Aurora PostgreSQL. Schema conversion and application testing are complete. AWS DMS has finished the full load and is applying ongoing changes with approximately three seconds of target latency. Applications still write to Oracle. No acknowledged order may be lost, and writes may pause for at most three minutes. Rehearsals show that draining transactions, applying the remaining changes, and validating the target take less than one minute. Select the appropriate cutover sequence.
Show answer & explanation
Correct answer: C - Quiesce and drain Oracle writes, confirm all committed changes are applied, validate Aurora, then redirect writers while keeping the source fenced against further writes.
Question 10
A Windows document-management application is being rehosted on EC2. Its vendor requires SMB shares, Microsoft Active Directory authentication, NTFS access controls, and Windows file-locking semantics. The shared files must remain accessible after an Availability Zone failure. Application changes are not permitted, and the operations team wants to avoid administering file-server operating systems or gateway appliances. Choose the storage replacement that preserves these requirements with the least operational work.
Show answer & explanation
Correct answer: D - Use Amazon FSx for Windows File Server in a Multi-AZ deployment, integrated with the application's Active Directory.
That's 10 of 1,030
The full bank has 1,020 more SAP-C02 questions with explanations.