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
You save $69.98
A subscription video platform scales an EC2 render fleet down after a month-end batch. An automated inventory finds 30 unattached gp3 EBS volumes and several encrypted snapshots. Half the volumes retain output data that is still under legal hold, while the rest are ephemeral scratch with no restore requirements. Engineers propose deleting all unattached EBS assets as a quick cost reduction. Which verification and lifecycle action protect legitimate data?
Orphan EBS cost optimization requires separating unneeded block storage from regulated, potentially restorable data under KMS and retention control.
An unattached volume can still hold recoverable or regulated data and must not be treated as disposable by attachment state alone.
CloudFront object caching is not a block-volume storage or recovery substitute.
Attaching idle volumes to new compute increases costs and does not establish whether the data should be retained.
A central SRE account already runs effective CloudWatch Logs Insights queries across Lambda groups linked from 29 workload AWS accounts using Observability Access Manager. A newly acquired thirtieth account has recent authentication-error records visible in its local CloudWatch Logs console, and the central query time range and filter are correct, but those events never appear in the central monitoring account. The new account created no OAM link to the approved sink, and an engineer proposes widening only the Logs Insights search string. What cross-account telemetry fix and positive/negative test are required?
CloudWatch cross-account observability requires a source link to the monitoring sink for the selected telemetry types; a correct Logs Insights query cannot search log groups that were never shared.
Extending the query time range cannot grant a missing source account telemetry link or permission.
Public log exposure violates the access policy and is not the supported controlled cross-account observability path.
OAM source accounts must explicitly share telemetry through approved links; a monitoring account does not relay arbitrary unlinked accounts into its own view.
A three-Region inventory application already uses a DynamoDB MREC global table with local writes and last-writer-wins conflict resolution. During flash sales, two Regions simultaneously decrement the same popular product item from quantity=1, and both local conditional writes pass before replication; two orders are accepted but the converged quantity is only one regional result. Operations wants guaranteed nonnegative inventory rather than merely converged replicas. Which write-ownership and failure test fixes overselling?
In MREC global tables independent regional conditional writes can both succeed before replication. A per-SKU authoritative admission point with idempotent reservation prevents two accepted sales of one remaining unit.
Transactions and conditions are atomic in their local Region but MREC replication does not make them one cross-Region serializable transaction; both regional orders can be accepted.
Replication-lag monitoring is useful but cannot rule out simultaneous conflicting writes, and an average lag metric is not a global stock lock.
Asynchronous reconciliation detects oversell after the external business commitment; converged database state does not undo shipments or guarantee the required at-most-one sale.
An external audit SaaS already issues one unique external ID per customer and every customer IAM role trust policy checks the provider principal and its corresponding sts:ExternalId. Penetration testing still finds a confused-deputy flaw: the SaaS API accepts an arbitrary RoleArn and ExternalId supplied together by a logged-in customer, rather than looking up both values from that customer's server-side approved integration. A tenant obtains another customer's visible role ARN and external ID from a leaked integration ticket. Which provider-side change and denial test are needed while keeping the trust-policy defenses?
AWS ExternalId mitigates confused deputy use when provider-controlled and unique; the provider must also bind each AssumeRole operation to its actual authenticated customer rather than blindly forwarding caller-selected identifiers.
An ExternalId is not a secret or a standalone tenant authorization check; the SaaS must not let one customer select another customer’s approved account integration.
Application sign-in to one SaaS tenant does not authorize assuming another customer’s AWS role; removing the external ID removes an important trust safeguard.
A long-lived exposed administrator key expands compromise and does not enforce per-customer account role authorization.
A software vendor runs container APIs on EC2 and AWS Fargate, and it is moving a portion of request handling to Lambda next quarter. EC2 instances change family, size and Region, while a steady eligible compute baseline is forecast at $210/hour and a variable extra $500/hour appears only during seasonal campaigns. Finance asks for a one-year commitment that applies across all three services as the mix changes without buying coverage for every seasonal peak. Which plan type and purchase scope are appropriate?
Compute Savings Plans provide flexible discounted eligible EC2, Fargate and Lambda use across families and Regions, paid through an hourly commitment. The observed steady baseline rather than campaign peaks supports utilization across the one-year term.
EC2 Instance Savings Plans apply to compatible EC2 family/Region usage and do not cover Fargate or Lambda; this fails the explicitly changing service mix.
EC2 RIs are not a universal compute discount across Lambda/Fargate and cannot meet the cross-service commitment requirement.
Even a flexible Compute Savings Plan requires paying the committed hourly amount during periods with low utilization. Peak-sized commitments create unused spend in quiet hours.
An internal insurance API calls Secrets Manager from isolated VPC subnets. An interface endpoint has been created, but teams propose setting the endpoint policy to Allow all and granting a large wildcard IAM role so testing is easier. Which design achieves private least privilege?
Private network routing does not replace IAM data authorization; endpoint and principal policies should both minimize allowed APIs and resources. Intended tasks retrieve only the named secret without NAT while other tasks and unrelated Secrets Manager actions are denied.
Broad identities undermine least privilege despite traffic using a private endpoint.
An S3 gateway endpoint does not provide Secrets Manager API connectivity.
Secret name obscurity is not the authorization control enforced by Secrets Manager.
A finance reporting application has been modernized from a single-Region RDS MySQL installation to an eligible Aurora MySQL GLOBAL DATABASE. Users in a secondary Region issue a balance adjustment through the secondary cluster using supported global write forwarding, then immediately SELECT that balance in the SAME database session. With aurora_replica_read_consistency=EVENTUAL, the read occasionally returns the old pre-adjustment value even though the forwarded write is committed on the primary. Cross-Region write forwarding must remain enabled; the application requires read-your-writes within the originating session, not visibility of ALL other sessions. Which consistency configuration and acceptance test match that contract?
Aurora MySQL global write forwarding supports SESSION consistency to wait for that session’s forwarded changes to be replicated before a later read, giving read-your-writes with the primary remaining authoritative.
EVENTUAL mode does not wait for the forwarded write to become visible locally, so a read-after-write query can return stale state.
GLOBAL is a stronger mode for visibility across sessions and may add more waits; SESSION directly meets this explicitly same-session contract without requesting broader global freshness.
Global Aurora write forwarding routes changes to one primary writer; it does not create conflict-free independent multi-primary database commits.
A bank is moving three legacy HTTP APIs into AWS with a central external endpoint. Different corporate clients must authenticate with OIDC JWTs, the finance API needs strict per-tenant authorization, and traffic spikes must not overload the original private services. New revisions require separately controlled staging before production. What front-door design best satisfies identity, rate management and promotion requirements?
A managed API front door can control auth, stage promotion and request rates while protecting existing services through suitable private integration and bounded capacity. Identity enforcement must remain separate from usage metering.
An API key is not a user authenticator, and usage-plan throttling is best effort. A shared key cannot establish tenant-specific authorization or a robust backpressure boundary.
Direct database exposure and shared administrative credentials violate least privilege, remove request-layer controls and bypass the migration security boundary.
Static object hosting and caching do not implement authenticated transactional APIs or per-tenant business permissions for the stated HTTP mutations.
An ALB-based public API faces repeated SQL-injection patterns. AWS WAF has a managed rule group, but the penetration-test payload passes through an exempted URI path while harmless requests to the same path are intermittently blocked. The application requires targeted protection and low false positives. What acceptance gate is appropriate?
A managed group does not help paths excluded by its scope, and broad block rules can cause false positives; rule-specific evidence is necessary.
Removing HTTP inspection exposes the vulnerable path instead of protecting it.
Database capacity and edge web-request filtering are separate controls.
The requirement includes preserving authorized API operation, not merely preventing all requests.
A payments API is deployed by four independent microservices and currently embeds the same RDS password in plaintext CI build variables. Security requires secret custody outside source artifacts, automatic credential rotation, no long-lived deployment principal keys and proof that active containers refresh the new credential rather than failing at the next DB connection. The application can change its secret lookup code but not the database engine. Which design is appropriate?
Secrets Manager manages controlled versioned secrets and rotation, but a running client must actually retrieve/refetch an updated version and reconnect. Moving a static secret without app refresh is insufficient.
A source-repository decryption key and baked credential still expand distribution and do not implement centrally governed DB credential rotation.
Secret access must be restricted to authorized principals and must not be exposed to unauthenticated callers.
A broad root credential neither meets least privilege nor provides auditable DB secret rotation for independent microservices.
An acquisition has an on-premises AD DNS forest and an acquired AWS VPC with an overlapping parent-company CIDR. A private NLB-backed inventory endpoint service is already provisioned, the acquired VPC interface endpoint is AVAILABLE, and EC2 clients inside the acquired VPC resolve inventory.erp.internal and call the API successfully. On-premises ERP clients reachable by VPN cannot resolve that VPC-private hostname; they must reach only this approved endpoint, not the parent VPC CIDR. Which DNS and network path complete the hybrid integration?
Inbound Resolver allows on-premises DNS servers to resolve Route 53 private hosted-zone records through private connectivity. The resolved PrivateLink interface endpoint remains in the consumer VPC, so no overlapping provider CIDR transit is necessary.
AWS advises using Route 53 Resolver inbound endpoints for hybrid private hosted-zone queries; VPC+2 is not a supported remote forwarding target. Peering overlapping ranges also fails.
Outbound Resolver solves the opposite query direction (VPC towards corporate zones); the failure is corporate-to-VPC-private DNS resolution.
Public publication and network-wide ingress violate the service-specific privacy boundary.
Please check your mailbox for a message from support@examlabs.com and follow the directions.