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 40

Question 390

A private EC2 fleet calls AWS KMS through an interface VPC endpoint because NAT is forbidden. Successful decrypt requests to an authorized customer-managed key work, but a compliance test shows the same fleet can call KMS for keys outside the application boundary using the endpoint. The team needs a second network-path restriction without breaking permitted cryptographic calls. Which test and change are appropriate?

  1. Disable the VPC endpoint and restore public NAT egress for all KMS requests.
  2. Grant kms:* in the instance role so every key remains callable through the endpoint regardless of policy.
  3. Add an S3 gateway endpoint policy denying other KMS keys and assume it controls the KMS endpoint.
  4. Restrict the KMS interface endpoint policy to approved principals, actions and key resources, retain required IAM/key grants, and prove allowed decrypt succeeds while unapproved calls fail with NAT absent.

Explanation

Correct Answer

D:

Endpoint policy enforcement narrows calls sent through that VPC endpoint; key and IAM policies still govern cryptographic authorization. Positive and negative tests establish both network-path and access limits.

Incorrect Answers

A:

Public NAT access breaches the approved network boundary and does not constrain which keys or actions the caller may use.

B:

Broad IAM permissions expand rather than narrow effective KMS access and cannot substitute for a restrictive endpoint policy.

C:

S3 gateway endpoints apply to S3 traffic, not AWS KMS interface API calls, so this setting cannot enforce the desired KMS restriction.

Question 391

A multinational firm has 45 private workload VPCs attached to Transit Gateway. Security policy requires all internet-bound HTTPS traffic to pass a central inspection VPC, block selected TLS hostnames, and log denied flows. Current peering and independent NAT gateways allow traffic to escape without inspection; availability requires zonal resilience. What network architecture should replace this fragmented egress?

  1. Use centralized AWS Network Firewall endpoint deployments across required AZs, stateful domain policies, and explicit symmetric Transit Gateway/spoke routes through inspection, with logged deny tests.
  2. Attach AWS WAF web ACLs to all internal EC2 security groups to filter any outbound HTTPS hostname.
  3. Enable Route 53 public hosted zones for all blocked domains, but keep independent NAT and default routes in every workload VPC.
  4. Configure one internet gateway on each private workload subnet and trust TLS certificates to reject unauthorized external hostnames.

Explanation

Correct Answer

A:

Firewall policy only applies to traffic that traverses its endpoints. Zonal endpoint placement, correct route domains and stateful rule evaluation provide centralized hostname controls and measurable enforcement.

Incorrect Answers

B:

WAF is not a general egress firewall for arbitrary EC2 TCP sessions and cannot be attached to security groups as described.

C:

DNS records do not guarantee enforcement of outbound TLS traffic, especially when callers use alternate resolvers or addresses; bypass routes remain open.

D:

An internet gateway plus TLS validation does not provide the required egress domain deny policy or central inspection logging.

Question 392

After a regional disaster the recovery Region has accepted new paid orders for two days. The old primary Region is back online with a STALE copy of the ledger, and administrators want to resume traffic there. The business forbids concurrent writable primaries or loss of recovered committed orders. Which failback runbook is safe?

  1. Open the old primary writer to public order traffic first, then reconcile the secondary ledger only if conflicting orders are reported by customers.
  2. Switch Route 53 customer traffic directly back to the old primary endpoint because both Regions pass EC2 and ALB health checks, without checking database write divergence.
  3. Enable the old primary to accept writes concurrently with the recovery primary during reverse-copy operations, assuming the database automatically merges independent order mutations.
  4. Keep the old primary fenced read-only, establish supported reverse replication/rebuild as needed, reconcile committed recovery-Region writes and credentials, rehearse planned switchover with exactly one writer and verify app endpoints and negative dual-write tests before redirecting traffic.

Explanation

Correct Answer

D:

Safe failback establishes authoritative data in one writer, prevents split brain and validates routing only after the former primary is synchronized and deliberately promoted.

Incorrect Answers

A:

Reopening stale data as a writer before reconciliation risks duplicate identifiers, split brain and loss of committed recovery-Region orders.

B:

HTTP health checks cannot establish ledger correctness or single-primary writer authority after a regional switchover.

C:

Uncontrolled dual writers can diverge; normal Aurora Global Database failover is not a conflict-free independent multi-writer merge protocol.

Question 393

An insurance checkout API synchronously calls an external tax provider. When the provider stops responding, each request waits sixty seconds and applications retry three times immediately; all request threads become occupied, so healthy unrelated customer operations time out. The business wants graceful degradation without duplicate external tax charges. Which resilience test should be accepted?

  1. Apply bounded connection and request timeouts, a circuit breaker with recovery probes, limited jittered retries and idempotent tax-operation identifiers, then inject a prolonged provider outage to verify worker capacity and controlled recovery.
  2. Increase each upstream request timeout to fifteen minutes and immediately retry every failure without backoff until the tax provider resumes.
  3. Remove all health metrics and failure counters so the service circuit never opens, since connection count alone guarantees provider availability.
  4. Move the tax provider’s DNS name into a private Route 53 zone and assume private DNS automatically makes its third-party API highly available.

Explanation

Correct Answer

A:

A dependency outage can cascade through saturated callers when retry storms and waits are unbounded. A circuit breaker and carefully limited retries isolate the dependency while idempotency protects side effects during transient recovery.

Incorrect Answers

B:

Longer blocked threads and synchronized retries worsen exhaustion and can duplicate billable requests rather than bound failure amplification.

C:

Suppressing signals leaves the slow dependency in the request path and provides no feedback for safe circuit reopening.

D:

Name-resolution placement does not protect the service from a slow or failing remote dependency or create request-level idempotency.

Question 394

A CloudFormation StackSet installs an AWS Config baseline in every existing account of a production OU. A new account joins that OU but its regional baseline stacks are absent. Inspection shows the StackSet uses service-managed permissions but automatic deployment for newly added accounts is disabled. Security must cover both existing and future accounts. What should be tested?

  1. Enable the intended StackSet automatic deployment for the target OU and Regions, verify service-managed organization integration and execution results, then enroll a controlled new account and check its actual baseline resources and compliance status.
  2. Count an existing member’s IN_SYNC stack as evidence that every account subsequently joining the OU automatically receives the same StackSet.
  3. Set StackSet auto-deployment off permanently and assume AWS Config itself creates CloudFormation stack instances when an account joins a new OU.
  4. Create a standalone AWS Config organization rule for the new account and claim that automatically deploys every non-Config resource in the missing StackSet baseline.

Explanation

Correct Answer

A:

StackSets service-managed automatic deployment is a distinct setting from initial stack instance creation. A target OU’s new accounts are covered only when the configured deployment mechanism runs successfully.

Incorrect Answers

B:

One successful old instance cannot establish auto-deployment behavior after the organization changes membership.

C:

AWS Config evaluations do not substitute for the CloudFormation StackSets rollout mechanism being configured.

D:

Config compliance rules can detect settings but do not replace deploying all CloudFormation resources to intended accounts and Regions.

Question 395

A third-party vendor assumes a temporary AWS role to download one S3 inventory report. STS succeeds and no static keys are used, but the vendor can also call ListBucket across unrelated client prefixes because the role policy allows bucket-wide listing. The approved grant allows reading only reports/vendor-73/ and must prohibit access to other inventories. What is the smallest defensible fix and test?

  1. Constrain the assumed role to the intended object resources and the allowed S3 listing prefix, retain scoped trust and temporary STS sessions, and test both permitted reads and cross-prefix AccessDenied.
  2. Rotate the vendor’s IAM user access keys but keep the assumed role’s broad ListBucket statement unchanged.
  3. Set the inventory bucket to S3 Intelligent-Tiering and rely on the archive tier to hide other vendors’ object keys.
  4. Enable an AWS Config compliance rule for S3 encryption only, then continue allowing the vendor to enumerate all client inventory keys.

Explanation

Correct Answer

A:

STS identity trust answers who may assume the role; the assumed role’s S3 action/resource/condition permissions answer what that session can enumerate and read.

Incorrect Answers

B:

The established integration already uses STS. Rotating unrelated static keys cannot fix the effective bucket-wide permissions of the role session.

C:

Storage class impacts storage and retrieval economics, not principal authorization or permitted listing prefix conditions.

D:

Encryption posture assessment does not replace the exact S3 identity and resource permissions that caused the cross-tenant listing exposure.

Question 396

A shipping platform keeps 18 months of full DEBUG event payloads in CloudWatch Logs even though support needs only 21 days of searchable incident records. In the last billing cycle the team spent more on repetitive debug ingestion than on its application servers, but a security feed of failed-payment events must remain complete and centrally archived for seven years. Which controls should reduce cost without losing required failure diagnostics or regulated evidence?

  1. Change every log group to 21-day retention including the sole failed-payment audit stream, treating shorter retention as legal approval to discard protected records.
  2. Separate mandatory financial-security events from DEBUG streams, reduce nonessential log emission and set 21-day ops retention, measuring ingestion and archived evidence.
  3. Leave DEBUG ingestion untouched but filter Logs Insights query results to three weeks, recording the smaller result count as proof CloudWatch stopped billing incoming bytes.
  4. Disable every log producer at the source with no event classifier, and accept the cost reduction without testing failed-payment investigations or long-term audit delivery.

Explanation

Correct Answer

B:

Retention reduces stored log charges, while producer-side filtering reduces new ingestion; mandatory security events must remain complete and protected.

Incorrect Answers

A:

Operational log retention cannot override the seven-year regulated evidence requirement; the security archive must remain complete.

C:

A query time filter does not delete log data or reduce log ingestion volume generated by applications.

D:

Removing required events destroys compliance and incident response evidence; targeted DEBUG sampling needs explicit negative coverage checks.

Question 397

A claims application appears as a standalone Windows VM in a discovery report, but an interview reveals nightly CSV exchanges with a legacy mainframe and an AD authentication dependency. It must migrate with no missed settlements. How should the first wave be chosen?

  1. Migrate the VM before discovering its external interfaces because compute is stateless
  2. Rely only on CPU utilization recommendations to assign migration order
  3. Retire the mainframe connection immediately and manually reconcile the next month's claims
  4. Map and test file, identity and network dependencies and place the app in a wave that preserves the mainframe and directory interfaces through cutover

Explanation

Correct Answer

D:

An infrastructure inventory alone misses batch and trust relationships; migration readiness depends on full business flow continuity. A rehearsal completes login and a settlement cycle before, during and after each staged cutover.

Incorrect Answers

A:

The application relies on batch state and identity, so an isolated VM move risks broken financial workflows.

B:

CPU sizing cannot identify service dependency or transaction sequence constraints.

C:

Removing a critical integration without a replacement violates the no-missed-settlement requirement.

Question 398

An ECS green release adds a billing_country field to a PostgreSQL orders table containing 20 million historical rows. The old blue version continues to insert new orders during the canary and does not send billing_country. An engineer proposes adding the column with NOT NULL and no default in one blocking migration. Blue must remain operational and green needs valid backfilled records before the invariant becomes mandatory. Which release sequence is safest?

  1. Enable CodeDeploy rollback and immediately add NOT NULL with no default to the live table, assuming ECS traffic shift prevents old tasks from inserting rows.
  2. Drop the orders table, recreate it with billing_country NOT NULL, and rely on task-set rollback to restore 20 million historical records.
  3. Restore a pre-canary snapshot to production after every constraint failure, discarding all customer orders accepted during the canary.
  4. Add billing_country first as nullable or with a safe compatible default, deploy readers/writers that tolerate old and new rows, backfill and validate all historical and concurrently inserted orders, then enforce NOT NULL only once no active old client can write missing values; test abort and rollback before tightening.

Explanation

Correct Answer

D:

An additive compatible phase keeps old code serving while new logic and a verified backfill establish completeness. The irreversible constraint is enforced only after all producers meet it, not before canary overlap ends.

Incorrect Answers

A:

An early incompatible constraint rejects inserts from the still-serving old version; compute rollback cannot undo the dependency break.

B:

Destroying the table loses data and does not satisfy an online compatible migration or recovery requirement.

C:

Restoring stale snapshots is not a safe normal rollback for a shared live transactional database.

Question 399

A manufacturing company serves www.fabric.example publicly through an internet-facing load balancer, while its own VPC clients must use a private internal endpoint under that same DNS suffix. A recently created private hosted zone broke all VPC lookups for names that were never defined there, while public customers still resolve correctly. What split-horizon DNS policy and test should be approved?

  1. Put internal RFC1918 application addresses into the public authoritative hosted zone and rely on a WAF rule to prevent customers from discovering those private DNS values.
  2. Maintain correctly scoped public and private Route 53 hosted zones and explicit private records for intended VPC names, coordinate associations and any needed forwarding, and test both internal resolver names including absent records and public resolver behavior independently.
  3. Create a matching private hosted zone with no www record and assume VPC resolvers automatically fall back to the public hosted zone whenever an internal record is missing.
  4. Configure only S3 interface endpoints, assuming they cause all DNS domains in the VPC to resolve to the correct private application load balancer regardless of hosted zone records.

Explanation

Correct Answer

B:

Route 53 private hosted zones affect associated VPC resolution, and their name matches can shadow public records; missing private records can yield NXDOMAIN rather than fallback to a public zone.

Incorrect Answers

A:

Publishing private endpoints in public DNS leaks infrastructure details and does not create VPC-scoped resolution controls.

C:

Private hosted zone matching can shadow equivalent public names; absent records are not a guaranteed fallback to the public zone.

D:

A service endpoint for S3 does not govern arbitrary internal/public Route 53 DNS record selection.

Question 400

A service fails over to a backup Region and replays event messages recorded before the primary failed. The destination database has some of those payments already committed. Which design prevents double collection?

  1. Depend only on the load balancer's sticky session cookie to preserve payment state
  2. Change Route 53 failover TTL to 30 seconds and rely on the DNS cache to deduplicate events
  3. Use durable payment-id idempotency records and conditional transactions shared or reconstructed with the recovery dataset before replaying the queue
  4. Use an SQS standard queue with unlimited receives and no application idempotency

Explanation

Correct Answer

C:

At-least-once message replay after regional failover can duplicate business side effects unless deduplication state survives recovery. Validation evidence: The same recovery queue replayed twice produces exactly one charge per customer payment identifier.

Incorrect Answers

A:

HTTP affinity does not maintain durable cross-region financial idempotency state.

B:

DNS affects endpoint selection and cannot enforce payment transaction uniqueness.

D:

Unlimited retries can replay the same charge and worsen duplication.

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