Pass Amazon AWS Certified Solutions Architect - Professional SAP-C02 Exam in First Attempt Easily
Real Amazon AWS Certified Solutions Architect - Professional SAP-C02 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

AWS Certified Solutions Architect - Professional SAP-C02 Premium Bundle

  • Premium File 523 Questions & Answers
  • Last Update: Nov 9, 2026
  • Training Course 192 Lectures
  • Study Guide 1066 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    523 Questions & Answers
    Last Update: Nov 9, 2026

    $76.99
    $69.99
  • Training Course

    192 Lectures

    $43.99
    $39.99
  • Study Guide

    1066 Pages

    $43.99
    $39.99

AWS Certified Solutions Architect - Professional SAP-C02 Practice Test 24

Question 230

A SaaS invoicing API already evaluates an AWS AppConfig tenant feature variant for each request; it no longer uses a process-global Boolean cache. A malicious customer nevertheless changes the client-supplied X-Tenant-ID header to the ID of a pilot tenant and receives the new tax engine even though the JWT tenant claim identifies the non-pilot organization. The next rollout must not allow customers to choose each other's feature eligibility. Which trust-boundary repair and adversarial test are required?

  1. Treat the client-provided X-Tenant-ID header as the trusted AppConfig variant identity because the API connection uses TLS and the caller also presents a valid JWT for an unrelated non-pilot tenant.
  2. Replace contextual feature flag rules with one globally cached rollout Boolean after the first pilot response, assuming subsequent authenticated tenant requests cannot share a worker process.
  3. Derive variant context from a validated tenant identity in JWT/session authorization, reject mismatched client headers, and replay cross-tenant header tampering to confirm non-pilot traffic stays isolated.
  4. Use signed JWTs for API authentication but allow each customer to choose any tenant ID in a separate feature-variant query parameter without checking it against claims.

Explanation

Correct Answer

C:

Tenant targeting is safe only if the context fed to AppConfig is bound to an authenticated authorized caller; a caller-controlled header enables impersonation.

Incorrect Answers

A:

TLS and authentication prove the transport and caller credentials, not that a separate header’s tenant value is authorized by the signed identity.

B:

A global boolean can leak pilot treatment to other customers served by the same worker and ignores the required per-tenant policy.

D:

Authenticating the caller is insufficient if the variant key used for authorization-sensitive rollout is still freely selected by that caller.

Question 231

Employees already authenticate through IAM Identity Center, and verified Team attributes are propagated to their AWS sessions. Product deployment permissions must be granted only when the session Team matches a protected Team tag on the target resource. A user must not self-assign another team or retag the target to escalate. Which preventive design and negative test meet this requirement?

  1. Assign the same broad deployment permission set to every authenticated employee and assume IdP login proves authorization over every Team-tagged application.
  2. Protect who can change principal Team session tags but leave the actual deploy action unrestricted for resources belonging to other teams.
  3. Enforce Team matching with IAM principal-tag/resource-tag conditions on supported deploy actions, restrict tag issuance and mutation, and test both allowed and foreign teams.
  4. Require only target resource tag editing approval while permitting operators to assert arbitrary Team session tags through AssumeRole to reach any team resources.

Explanation

Correct Answer

C:

ABAC checks authenticated principal attributes against resource authorization tags; both the comparison policy and tag governance are needed for isolation.

Incorrect Answers

A:

Authentication alone does not bind a principal to resource tags; broad permissions allow cross-team deployment unless IAM explicitly constrains resources.

B:

Tag issuance integrity helps, but without an IAM condition comparing resource and principal tags, cross-team actions may still be permitted.

D:

Protecting resource tag edits without protecting session tag provenance enables forged principal attributes to satisfy an ABAC comparison.

Question 232

An online booking service runs stateless-looking EC2 web servers across three Availability Zones behind an Application Load Balancer. Session objects actually remain in process memory, so customers lose baskets whenever an instance fails or an AZ is drained. The service must maintain sessions through instance replacement without requiring clients to reconnect to a particular server. What architecture change addresses that failure?

  1. Externalize session state to a shared highly available store and make the ALB-backed web instances stateless across AZs
  2. Turn on ALB sticky-session cookies while keeping all session data on each EC2 process
  3. Increase the Auto Scaling Group minimum size and rely on the new instances to inherit terminated-process memory
  4. Deploy an RDS Multi-AZ standby without modifying the existing in-memory session implementation

Explanation

Correct Answer

A:

A shared session store decouples customer state from the instance lifetime. When the old worker terminates, the replacement retrieves the same session and the ALB can send traffic to any healthy AZ.

Incorrect Answers

B:

Stickiness may favor the original target while it is healthy, but cannot recover in-memory state after the target or its AZ is lost; the very failure being tested persists.

C:

Extra EC2 replicas improve compute availability but do not transfer per-process session objects. Instance replacement starts a new memory space and the basket still disappears.

D:

RDS Multi-AZ protects a managed relational database tier; a database standby cannot preserve session state that never leaves the web process in the first place.

Question 233

A Multi-AZ RDS billing database fails over to its standby during an AZ outage. The RDS instance endpoint is healthy again within the approved RTO, but a Java transaction worker keeps the previous IP cached indefinitely and fails until redeployed. Which production-readiness test distinguishes database recovery from application recovery?

  1. Point all Java clients to the old standby's literal IP address so they will not need to resolve the RDS endpoint after the next failover.
  2. Change the database's monthly Reserved Instance commitment to Single-AZ because billing reservations determine how JVM hostname caches respond to failover.
  3. Test the failover end to end with bounded JVM DNS caching, connection-pool retries and new transaction commits, recording the total customer-visible interruption against the RTO.
  4. Declare the database design accepted when the RDS console reads Available, without executing application reads and commits after terminating the active AZ.

Explanation

Correct Answer

C:

RDS changes the writer endpoint's DNS target during Multi-AZ failover; clients that cache IPs forever may not reconnect even when the database is healthy.

Incorrect Answers

A:

Static IP pinning defeats the managed endpoint's writer relocation and can connect clients to a failed or non-writer address.

B:

A billing discount does not control Java DNS caches, client retry logic or the database's automatic failover wiring.

D:

An Available database status is not proof that the business-facing connection pool and transaction path have recovered.

Question 234

A legal records platform already has a recovery runbook with a measured 15-minute application RTO and a one-minute RPO target. During a regional exercise, CloudWatch average replica lag is 20 seconds, but a partitioned log shows that the last committed source document acknowledged at 11:47 was not applied to the recovery Region before the 11:50 failover. The team claims the average-lag dashboard alone proves the one-minute recovery point. What checkpoint-level data-loss test should block that claim?

  1. Take a fresh CloudWatch average lag sample at promotion and mark the RPO satisfied when it is under a minute, without checking the missing acknowledged document sequence.
  2. Restore the web tier in fifteen minutes and use its healthy response time as the source of truth for both restoration duration and the newest committed record in storage.
  3. Promote the secondary as soon as the application connection test succeeds and allow the prior primary to restart as a second writer, relying on eventual catch-up to avoid divergent log state.
  4. Compare the newest acknowledged source document ID with the promoted replica’s applied checkpoint, reconcile any missing durable journal events, and gate acceptance on measured RPO.

Explanation

Correct Answer

D:

RPO requires evidence from actual recoverable committed data. A favorable aggregate lag chart cannot override a known missing source transaction.

Incorrect Answers

A:

Average lag does not prove that the latest acknowledged transaction reached the promoted secondary before the outage.

B:

Service restart metrics demonstrate RTO, not the sequence of acknowledged source writes preserved after recovery.

C:

Dual writers and unverifiable missing commits risk conflicts and cannot prove the one-minute RPO for legally important documents.

Question 235

A financial migration converts Oracle stored procedures to PostgreSQL and uses DMS full load plus CDC. The copied rows match, but some procedures still use incompatible Oracle semantics. Which release criterion is appropriate?

  1. Increase the destination EC2 CPU without testing procedure semantics
  2. Promote immediately when DMS reports the initial full load completed
  3. Use DataSync for the live Oracle binary files in place of logical schema and CDC migration
  4. Combine schema-conversion assessment and application SQL regression tests with DMS change-lag monitoring and transactional reconciliation before the cutover gate

Explanation

Correct Answer

D:

Data-row copying and SQL behavior compatibility are separate problems; a successful CDC job alone does not prove converted procedures behave correctly. Validation evidence: Executed financial workflows reconcile expected outputs on PostgreSQL while CDC lag falls below approved cutover threshold.

Incorrect Answers

A:

More compute cannot correct incompatible SQL behavior.

B:

Full load completion does not prove stored procedure compatibility or near-zero change backlog.

C:

File transfer does not transform Oracle procedure semantics or synchronize PostgreSQL logical changes.

Question 236

An Amazon EKS managed EC2 node group runs a three-replica admission API spread across three nodes. The service must keep at least two ready Pods throughout a planned rolling node upgrade. In a staging test, an operator selected the Force update strategy and two replicas were disrupted while one replacement Pod was still Pending. Node CPU was adequate, but the workload had no PodDisruptionBudget. Which node-update and Kubernetes scheduling change would most directly enforce the two-Pod readiness minimum for planned upgrades?

  1. Continue selecting Force update and add only a Kubernetes Service with three endpoints; Services prevent node terminations whenever two Pods would stop.
  2. Increase the managed node group maximum instance count without defining a PodDisruptionBudget or constraining simultaneous replica eviction.
  3. Set ECS minimumHealthyPercent=100 on a separate ECS service while leaving the EKS node upgrade in Force mode.
  4. Define a PodDisruptionBudget requiring minAvailable=2, spread the three replicas across nodes with topology constraints, choose a normal EKS managed-node rolling update rather than Force, and validate drain/replacement order plus ready Pod count under a simulated node update.

Explanation

Correct Answer

D:

EKS managed node group rolling updates respect PodDisruptionBudgets, whereas Force updates do not. A budget limits voluntary eviction, and replica topology plus available scheduling capacity helps maintain the stated two-ready-Pod floor; test the actual rollout and failure conditions.

Incorrect Answers

A:

A Kubernetes Service does not enforce a minimum available-Pod count during eviction. EKS Force update does not respect PodDisruptionBudgets and can disrupt more replicas than the contract allows.

B:

Spare capacity can reduce scheduling waits but does not independently restrict the number of ready Pods evicted during a forced or inadequately controlled upgrade.

C:

ECS deployment percentages govern ECS services, not the Kubernetes Pod eviction behavior of the affected EKS managed node group.

Question 237

A low-latency analytics application stores temporary query results in an S3 Express One Zone DIRECTORY BUCKET inside one supported Availability Zone. The VPC already has a general-purpose S3 gateway endpoint for ordinary buckets but its requests to the directory-bucket Zonal API still traverse NAT and fail the required low-latency private-path test. Which specific service endpoint and routing test fix the distinct directory-bucket network requirement?

  1. Create a gateway VPC endpoint for the supported com.amazonaws.REGION.s3express service in the workload VPC, associate the intended subnet route table and configure scoped endpoint permissions; test Zonal object access and regional control-plane calls without NAT and verify the directory-bucket Availability Zone is appropriate.
  2. Keep only the existing com.amazonaws.REGION.s3 endpoint for general-purpose buckets and assume it automatically reaches every directory-bucket S3 Express Zonal API without any s3express route.
  3. Publish the directory bucket through a CloudFront public origin so the application can use internet access from NAT instead of the required VPC private route.
  4. Move the objects to S3 Glacier Deep Archive and rely on its hours-long retrieval to improve sub-millisecond query result reads.

Explanation

Correct Answer

A:

S3 Express One Zone directory buckets use separate regional and zonal API endpoints and their own s3express gateway VPC endpoint service name; route-table association enables supported private access.

Incorrect Answers

B:

An ordinary S3 gateway endpoint is not the same s3express service endpoint for directory-bucket API traffic.

C:

Public-origin access does not satisfy the private-network path requirement and changes the workload access model.

D:

Archival retrieval tiers cannot meet active low-latency directory-bucket query-result access.

Question 238

A fleet has a fixed 24x7 API baseline and a nightly interruptible indexing workload that may be restarted. Finance proposes buying reserved commitment for every peak hour. Which portfolio balances cost and risk?

  1. Buy commitments for all possible Spot peak hours despite variable nightly demand
  2. Size an appropriate Savings Plan to reliable baseline usage and run checkpointed burst indexing on eligible Spot capacity with fallback and measured interruption recovery
  3. Run the critical API entirely on Spot with no failure capacity or fallback
  4. Use S3 Intelligent-Tiering to replace compute purchasing commitments

Explanation

Correct Answer

B:

Commitments suit predictable usage; interruption-tolerant surges can use Spot without locking peak capacity into a long-term commitment. Validation evidence: Monthly reports show high plan utilization and interrupted indexing jobs recover without breaching their deadline.

Incorrect Answers

A:

Overcommitting irregular peaks leaves unused spend during low-demand periods.

C:

A 24x7 latency-sensitive baseline may not tolerate unpredictable Spot interruption.

D:

Object storage tiering cannot discount or reserve API compute usage.

Question 239

A container service takes two minutes to initialize but deployment health checks kill new tasks at 30 seconds, causing capacity collapse. Which solution best satisfies the complete requirement?

  1. Deploy ECS blue-green with immediate traffic switching as soon as tasks enter RUNNING, without startup grace or deep readiness checks
  2. Tie canary advancement to a CloudWatch alarm on the affected error metric and configure automatic rollback to the previous revision
  3. Align ECS deployment circuit breaker, health-check grace period and minimum healthy capacity to measured startup behavior
  4. Add a monitored pricing-correctness or invoice-error metric as the AppConfig rollback alarm in a staged deployment strategy

Explanation

Correct Answer

C:

A deployment safety gate should distinguish normal warm-up from actual failure while preserving serving replicas. The action is align ECS deployment circuit breaker, health-check grace period and minimum healthy capacity to measured startup behavior. Acceptance evidence: a rolling update retains the specified serving target count and new tasks join only after initialization.

Incorrect Answers

A:

A RUNNING task can still be initializing dependencies. Moving traffic before application readiness recreates the premature-replacement outage.

B:

Deployment safety needs relevant business/SLO alarms rather than only instance health or average latency, otherwise broken changes may pass technical readiness probes. That result relates to a new API version is deployed gradually to ten percent of traffic, but its authentication error rate rises while average latency remains normal; deployment should stop before further rollout, where a suitable test is an injected authorization failure trips the canary alarm, stops traffic growth and returns clients to the prior healthy version. It does not test whether a rolling update retains the specified serving target count and new tasks join only after initialization for the workload in this scenario.

D:

Infrastructure uptime and CPU cannot reveal semantically wrong invoices; rollback gates must observe the failure mode that matters to customers. That mechanism is associated with the following test: An injected invalid invoice trips the configured alarm, stops rollout, and restores previous configuration before more tenants receive it. The problem here is evaluated by: A rolling update retains the specified serving target count and new tasks join only after initialization.

Question 240

The standby Aurora cluster promotes successfully, but container clients cache the old Region writer address and reject writes after failover. Which solution best satisfies the complete requirement?

  1. Design client reconnection and active writer discovery with bounded DNS cache and health-aware endpoint routing
  2. Measure replication lag, design idempotency and select DR mode aligned to RPO
  3. Keep the client connection pool permanently pinned to the retired regional writer IP after promotion, then raise database TCP timeout limits instead of renewing the connections or DNS records.
  4. Point new application sessions to the old Region's fixed writer IP and leave JVM DNS caching unbounded, assuming that promoting the Aurora secondary rewrites the application's cached IP in place.

Explanation

Correct Answer

A:

Database promotion does not automatically invalidate pooled sockets or custom client-side DNS caches. The action is design client reconnection and active writer discovery with bounded DNS cache and health-aware endpoint routing. Acceptance evidence: an already-running container resumes successful writes to the promoted secondary within the measured RTO.

Incorrect Answers

B:

The replica lag visibility control would normally be checked by: A forced failover quantifies data gap within accepted RPO. That is not enough for the system under review, which needs: An already-running container resumes successful writes to the promoted secondary within the measured RTO.

C:

A stale regional writer address remains wrong no matter how long a socket waits; clients must discover the promoted writer and re-establish suitable connections.

D:

Aurora Global Database promotion does not update hard-coded IPs or infinite client-side name caches; database health alone cannot restore application writes.

AWS Certified Solutions Architect - Professional SAP-C02 Practice Tests

Purchase Individually

  • Premium File

    523 Questions & Answers
    Last Update: Nov 9, 2026

    $76.99
    $69.99
  • Training Course

    192 Lectures

    $43.99
    $39.99
  • Study Guide

    1066 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports