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 81

Question 800

A shared Lambda execution role serves authenticated users from 80 customer tenants. A developer adds an IAM DynamoDB policy with dynamodb:LeadingKeys=${aws:PrincipalTag/TenantId}, but the function execution-role session has only a static application tag and cannot acquire a different caller principal tag merely because the handler reads a JWT. One tenant can still request another tenant’s partition through an unchecked repository method. The team must enforce per-request partition isolation at the IAM trust boundary, not just label the Lambda function ReadOnly. Which repair and two-tenant negative test are necessary?

  1. Apply dynamodb:LeadingKeys to the shared Lambda execution role using the tenantId HTTP header as PrincipalTag and skip authorization of that field against signed caller claims.
  2. Authorize the signed caller tenant, assume a tenant-scoped STS session with controlled tags and DynamoDB LeadingKeys permissions, then test denied foreign partitions and privileged table operations.
  3. Use one Lambda role with GetItem on every table and filter unauthorized records after DynamoDB returns them, accepting the API caller tenant ID as the sole access-control boundary.
  4. Apply LeadingKeys only to dynamodb:Scan while leaving Query and GetItem permitted on all tables, assuming a Scan condition automatically constrains those other actions.

Explanation

Correct Answer

B:

A principal-tag condition needs a trusted identity/role session. Constraining the actual DynamoDB item-level operations protects the tenant partition beyond application-only checks.

Incorrect Answers

A:

A request header is not a trusted AWS principal attribute. Elevating an unverified value to session tags would permit tenant spoofing across partition keys.

C:

Post-read filtering is not an IAM data boundary; the shared role would still be able to retrieve other customers’ rows if application code is bypassed.

D:

Conditions on an unrelated API action do not restrict the granted item/query operations; Scan is not an adequate substitute for partition-key scoped authorization.

Question 801

A regulated organization has an organization CloudTrail trail with log-file integrity validation enabled for most of the year. During a June incident, a former operator disabled validation for nine days, re-enabled it, and now points to successful validation of July digests as proof every June log was tamper-evident. The protected S3 log bucket still contains June event files, but no CloudTrail digest files were generated for deliveries while validation was disabled. What integrity assessment should the auditor require?

  1. Treat the July digest chain and the continuing June S3 object inventory as one uninterrupted cryptographic proof, because object presence establishes that each June digest existed when delivered.
  2. Compare June event file version IDs and S3 object checksums with July files and label the comparison a valid replacement for missing CloudTrail digest-chain signatures.
  3. Re-enable integrity validation and rerun the CloudTrail validator over the disabled June dates, assuming the later setting causes signed historical digests to be created.
  4. Validate only the periods that have CloudTrail digests, document the June unprotected interval with trail-change history and independent S3/access evidence, and alert on future validation or digest-delivery interruptions.

Explanation

Correct Answer

D:

Disabling log-file integrity validation breaks the digest chain and omits digests for delivered logs. Auditors must disclose the gap rather than claim coverage that never existed.

Incorrect Answers

A:

Storing an event object does not create its missing CloudTrail digest. When log-file validation was disabled, digest files for that interval were not produced.

B:

S3 checksums can be supplementary integrity evidence but do not retroactively establish CloudTrail-generated digest chain authenticity for the disabled period.

C:

Re-enabling validation resumes future digest delivery; the deliberate disabled period remains a cryptographic gap that a later validator run cannot fill.

Question 802

An internet retail ALB terminates TLS using an ACM-issued public certificate that was DNS-validated through the company's external authoritative DNS provider. The certificate remains associated with the live listener, but a DNS-cleanup script deleted the ACM-generated validation CNAME six weeks before renewal; ACM now reports pending validation. TLS still works with the current certificate, and the business forbids importing a private key to EC2. What should the architect repair and test to retain managed renewal?

  1. Restore each ACM validation CNAME at authoritative public DNS with exact record/value; verify external resolution, in-use association and renewed certificate status before expiry.
  2. Keep the external authoritative zone unchanged and add the validation token only to a Route 53 private hosted zone associated with the ALB VPC.
  3. Change the TLS policy and ALB idle connection timeout while retaining the missing DNS-validation record, then infer TLS negotiation success certifies future ACM renewal.
  4. Replace the ACM-issued certificate with self-signed certs installed on application instances but keep the ALB listener pointing at the expiring ACM certificate.

Explanation

Correct Answer

A:

ACM automatically renews eligible in-use DNS-validated certificates while its correct public CNAME remains resolvable. A deleted CNAME can block renewal.

Incorrect Answers

B:

ACM public DNS validation must be visible in public authoritative DNS; a private hosted zone cannot establish public ownership.

C:

A currently valid certificate can terminate TLS while its future automated renewal remains blocked by missing domain-validation evidence.

D:

Backend certificates do not repair the ACM validation token or replace the certificate presently selected by the public ALB listener.

Question 803

An EKS claims API has four ready replicas on node groups in three Availability Zones. Its Deployment already specifies topologySpreadConstraints with topologyKey topology.kubernetes.io/zone, maxSkew: 1 and whenUnsatisfiable: DoNotSchedule, but the constraint labelSelector matches app=claims-old while the actual pod template is labeled app=claims-v2. All four pods nevertheless land in one AZ, and a zone-loss rehearsal removes the complete service. The PodDisruptionBudget reports minAvailable=3. Which precise manifest and scheduler acceptance test should fix the mistaken guarantee?

  1. Raise PodDisruptionBudget minAvailable to four while keeping the nonmatching topology selector, expecting voluntary-eviction protection to spread existing pods among AZs.
  2. Double replicas while retaining the selector app=claims-old, then count the total desired pods as proof the scheduler honored maxSkew for app=claims-v2.
  3. Correct topologySpreadConstraints to match app=claims-v2, keep zone maxSkew and DoNotSchedule, verify multi-AZ eligible capacity and run zone-loss scheduling tests.
  4. Remove topology spread entirely and lengthen the pod termination grace period, assuming nodes in a failed AZ remain reachable long enough to serve clients.

Explanation

Correct Answer

C:

The scheduler counts pods matching the spread label selector. Matching the real deployment labels and validating sufficient topology domains establishes zonal placement.

Incorrect Answers

A:

A disruption budget does not place pods on distinct zones or prevent an involuntary entire-AZ outage.

B:

A topology selector that matches no intended pods cannot enforce distribution of the actual application replicas.

D:

Graceful termination handles planned shutdown; it cannot make all pods in a failed Availability Zone available.

Question 804

A producer changes its JSON payload schema, causing 0.1% of queue messages to fail parsing. Consumers retry poisoned records indefinitely, preventing normal orders from progressing. What combined operational control protects the healthy work?

  1. Set bounded redrive to a monitored DLQ, add explicit schema-version validation and define controlled replay after parser repair
  2. Set maxReceiveCount to a very large value and disable error alarms
  3. Increase SQS retention and leave the parsing error unchanged
  4. Drop all failed messages immediately with no DLQ or reconciliation

Explanation

Correct Answer

A:

Poison messages should stop monopolizing main-queue receive capacity while remaining recoverable after the underlying compatibility issue is fixed. Under mixed traffic, malformed records reach DLQ after bounded attempts and valid orders continue processing; repaired records can be replayed deliberately.

Incorrect Answers

B:

Excessive retries keep poison records competing with healthy work and hide the failure.

C:

Longer retention does not remove the repeated failure or protect processing throughput.

D:

Discarding accepted orders silently violates recoverability and business correctness.

Question 805

A manufacturing telemetry service already uses AWS Global Accelerator static anycast addresses for two regional ALBs. Regional endpoint groups and health checks work, but a stateful anti-fraud service behind the ALB relies on the original customer IP, not the accelerator edge IP, for per-client rules. An inherited security rule blocks one Region after the team changes to endpoints with client IP address preservation. Which supported endpoint and application-header test is necessary without altering the fixed device destination IPs?

  1. Switch to new regional Route 53 addresses and update the fixed-IP sensor fleet, then infer any received private ALB source address is the original external device IP.
  2. Read the leftmost X-Forwarded-For string from any internet source without restricting the proxy path or accounting for client-supplied header values, and permit all spoofed addresses.
  3. Use supported client-IP-preserving Global Accelerator ALB endpoints, validate trusted ALB X-Forwarded-For and adjusted regional security groups, then test original-IP rules through failover.
  4. Enable original-IP-based fraud decisions but use the backend packet source address of the ALB as the client identity, leaving application parsing of the trusted forwarded header disabled.

Explanation

Correct Answer

C:

With preservation enabled, the ALB sees original source addresses and puts them in X-Forwarded-For for backend HTTP services. Target TCP source is still the ALB.

Incorrect Answers

A:

The devices pin accelerator IPs and an ALB opens new backend connections; changing DNS does not supply original-client identity to application targets.

B:

A forwarded header is trustworthy only with a validated proxy ingress and parsing strategy; otherwise a client may forge addresses.

D:

The ALB terminates client connections and opens new ones. Its backend packet source is the load balancer, not the original external customer.

Question 806

A multinational copies AWS Backup recovery points from application accounts to a protected recovery account. A restore drill discovers that destination recovery points exist but the designated disaster-recovery operator cannot restore because the destination vault and encrypted KMS key policies omit the role. The source admin must remain unable to delete backups. Which test is decisive?

  1. Grant a narrowly scoped destination restore role the supported backup-vault, resource and KMS decrypt permissions, retain separate deletion restrictions, then restore a controlled workload and confirm source admins still cannot modify the protected copies.
  2. Give the source workload administrator full destination-vault DeleteRecoveryPoint privileges to make restoration easier, and assume separation of accounts still protects against source compromise.
  3. Change only the source account's IAM role policy while leaving the destination vault and KMS key permissions unchanged, expecting that role permissions automatically override remote key policy.
  4. Count a successful CreateBackupPlan API response as proof that the destination role can decrypt and restore older snapshots under a regional-outage exercise.

Explanation

Correct Answer

A:

Cross-account backup existence does not prove recoverability; the authorized restoring principal needs independent vault and encryption permissions without relaxing custody protections.

Incorrect Answers

B:

Broad destination delete rights defeat the purpose of separate recovery custody during a source credential compromise.

C:

Cross-account resource and encryption authorization must be granted at the destination as well as to the caller.

D:

Plan configuration does not exercise the destination restore path, actual encrypted data, or independent cross-account authorization.

Question 807

An ECS task in a private subnet already reads approved S3 objects through a VPC gateway endpoint. It also must call Secrets Manager in the same Region, but the private VPC has no NAT, no internet gateway route and no Secrets Manager interface endpoint. Its standard secretsmanager.<region>.amazonaws.com name resolves to a public address, so GetSecretValue cannot reach the service; the task role already has approved secret and KMS permissions. Which network change resolves the missing private API path without changing the S3 route?

  1. Add a second S3 gateway endpoint and more S3 bucket rules, expecting S3 prefix-list routing to carry Secrets Manager HTTPS APIs as well.
  2. Create an interface endpoint for AWS KMS alone, because Secrets Manager requests can be sent to the KMS API service name without a Secrets Manager endpoint.
  3. Create the Region’s com.amazonaws.<region>.secretsmanager interface endpoint in eligible VPC subnets, enable private DNS and narrowly scoped endpoint access, permit the task to reach endpoint ENIs on TCP 443, and test secret retrieval with NAT absent while S3 continues through the gateway endpoint.
  4. Grant additional secretsmanager:GetSecretValue permissions to the task role but leave the private VPC without a reachable Secrets Manager endpoint or public egress path.

Explanation

Correct Answer

C:

Secrets Manager interface VPC endpoints let private resources call Secrets Manager without NAT or public IP. Private DNS maps the standard regional hostname to the endpoint path; task IAM/secret/KMS access remains separately required and is already established.

Incorrect Answers

A:

S3 gateway endpoints provide only the supported S3 route and do not expose a Secrets Manager PrivateLink API endpoint.

B:

KMS and Secrets Manager expose different API services. KMS PrivateLink does not become the Secrets Manager GetSecretValue endpoint.

D:

More IAM authorization cannot create a missing private network route. The caller already has permission but its API packets cannot reach Secrets Manager.

Question 808

A CloudFront distribution forwards every marketing query string and session cookie to its origin, causing cache miss storms even though database cache hit ratio is healthy. The problem is unnecessary edge cache-key cardinality. Which single architecture change is the best direct remedy?

  1. Increase origin ElastiCache node count without changing CloudFront forwarding of irrelevant campaign query parameters and session cookies.
  2. Set a single CloudFront cache key for all viewers, including authenticated users, and cache personalized account data publicly for a long TTL.
  3. Configure a CloudFront cache policy that excludes irrelevant marketing query strings and cookies while including only content-varying parameters and safe authentication boundaries; test cache-hit ratio, personalized response isolation and origin request count.
  4. Configure an origin request policy that continues forwarding every marketing query/cookie and assume it automatically strips those fields from the CloudFront cache key, without checking cache policy behavior.

Explanation

Correct Answer

C:

CloudFront cache policies define the cache key; omitting non-content-varying fields improves reuse while respecting content personalization and authorization.

Incorrect Answers

A:

Origin database memory is not the edge cache-key cardinality control; redundant parameters still fragment CloudFront cache objects.

B:

An indiscriminate shared cache key can mix personalized responses across users, violating the correctness and privacy requirement.

D:

Origin request policies do not override which values a configured cache policy includes in the cache key; the selected cache policy must be verified directly.

Question 809

A production gp2 data volume is sized to 1 TB solely to achieve IOPS despite only 80 GB stored. Ops has removed unattached volumes already; it now needs an eligible performance configuration independent of excess capacity. Select the implementation that addresses the defining constraint.

  1. Create additional unattached gp2 snapshots and keep the 1-TB production gp2 volume unchanged to preserve its capacity-derived IOPS.
  2. Reduce gp2 size to 80 GiB without modeling its size-proportional IOPS or measuring the production workload under the new limits.
  3. Select a gp3 volume sized for actual stored data with separately provisioned sufficient IOPS and throughput within gp3 limits; run workload p95/p99 and cost benchmarks before approval.
  4. Keep the original oversized gp2 volume and raise EC2 instance CPU, assuming compute count lowers the EBS volume storage bill.

Explanation

Correct Answer

C:

Gp3 decouples storage capacity from separately provisioned IOPS and throughput within service limits. Measuring p99 and bills verifies real savings without lower service performance.

Incorrect Answers

A:

Snapshots are recovery artifacts; they do not change the still-oversized gp2 volume or its ongoing capacity charges.

B:

Gp2 performance depends in part on size and burst behavior, so a blind size cut can violate the measured IOPS target.

D:

More compute does not reduce a gp2 volume’s billed storage or decouple its IOPS from provisioned size.

Question 810

A payment API is subscribed to AWS Shield Advanced and its public load balancer appears as a protected resource, but the security director cannot find evidence that AWS can reach the incident commander during a large application-layer DDoS event. The team must validate response readiness without launching a real attack. Which result closes this operational gap?

  1. A CloudWatch dashboard shows that ALB request count increased during a past normal sales campaign.
  2. AWS WAF rate-based rules are configured, so response contacts and Shield Advanced event triage are unnecessary.
  3. Shield Advanced resource protections and proactive engagement are configured, with validated emergency contacts and an agreed response runbook.
  4. Disable Shield Advanced event notifications and rely only on web server access logs to summon AWS responders.

Explanation

Correct Answer

C:

Shield Advanced supports proactive engagement for eligible application-layer events. Reviewing protection, proactive-engagement prerequisites, contact reachability, and escalation steps demonstrates preparedness without a live DDoS exercise.

Incorrect Answers

A:

Request-count visibility can assist investigation, but it does not establish the Shield Advanced proactive-engagement setting or a reachable authorized emergency contact.

B:

WAF rate limits can mitigate selected request patterns but do not prove that the subscribed Shield response process can notify the organization and engage authorized responders.

D:

Access logs are useful for incident analysis but do not automatically establish a Shield Advanced response escalation channel or prove the contact workflow exists.

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