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 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?
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.
A request header is not a trusted AWS principal attribute. Elevating an unverified value to session tags would permit tenant spoofing across partition keys.
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.
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.
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?
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.
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.
S3 checksums can be supplementary integrity evidence but do not retroactively establish CloudTrail-generated digest chain authenticity for the disabled period.
Re-enabling validation resumes future digest delivery; the deliberate disabled period remains a cryptographic gap that a later validator run cannot fill.
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?
ACM automatically renews eligible in-use DNS-validated certificates while its correct public CNAME remains resolvable. A deleted CNAME can block renewal.
ACM public DNS validation must be visible in public authoritative DNS; a private hosted zone cannot establish public ownership.
A currently valid certificate can terminate TLS while its future automated renewal remains blocked by missing domain-validation evidence.
Backend certificates do not repair the ACM validation token or replace the certificate presently selected by the public ALB listener.
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?
The scheduler counts pods matching the spread label selector. Matching the real deployment labels and validating sufficient topology domains establishes zonal placement.
A disruption budget does not place pods on distinct zones or prevent an involuntary entire-AZ outage.
A topology selector that matches no intended pods cannot enforce distribution of the actual application replicas.
Graceful termination handles planned shutdown; it cannot make all pods in a failed Availability Zone available.
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?
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.
Excessive retries keep poison records competing with healthy work and hide the failure.
Longer retention does not remove the repeated failure or protect processing throughput.
Discarding accepted orders silently violates recoverability and business correctness.
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?
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.
The devices pin accelerator IPs and an ALB opens new backend connections; changing DNS does not supply original-client identity to application targets.
A forwarded header is trustworthy only with a validated proxy ingress and parsing strategy; otherwise a client may forge addresses.
The ALB terminates client connections and opens new ones. Its backend packet source is the load balancer, not the original external customer.
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?
Cross-account backup existence does not prove recoverability; the authorized restoring principal needs independent vault and encryption permissions without relaxing custody protections.
Broad destination delete rights defeat the purpose of separate recovery custody during a source credential compromise.
Cross-account resource and encryption authorization must be granted at the destination as well as to the caller.
Plan configuration does not exercise the destination restore path, actual encrypted data, or independent cross-account authorization.
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?
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.
S3 gateway endpoints provide only the supported S3 route and do not expose a Secrets Manager PrivateLink API endpoint.
KMS and Secrets Manager expose different API services. KMS PrivateLink does not become the Secrets Manager GetSecretValue endpoint.
More IAM authorization cannot create a missing private network route. The caller already has permission but its API packets cannot reach Secrets Manager.
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?
CloudFront cache policies define the cache key; omitting non-content-varying fields improves reuse while respecting content personalization and authorization.
Origin database memory is not the edge cache-key cardinality control; redundant parameters still fragment CloudFront cache objects.
An indiscriminate shared cache key can mix personalized responses across users, violating the correctness and privacy requirement.
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.
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.
Gp3 decouples storage capacity from separately provisioned IOPS and throughput within service limits. Measuring p99 and bills verifies real savings without lower service performance.
Snapshots are recovery artifacts; they do not change the still-oversized gp2 volume or its ongoing capacity charges.
Gp2 performance depends in part on size and burst behavior, so a blind size cut can violate the measured IOPS target.
More compute does not reduce a gp2 volume’s billed storage or decouple its IOPS from provisioned size.
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?
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.
Request-count visibility can assist investigation, but it does not establish the Shield Advanced proactive-engagement setting or a reachable authorized emergency contact.
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.
Access logs are useful for incident analysis but do not automatically establish a Shield Advanced response escalation channel or prove the contact workflow exists.
Please check your mailbox for a message from support@examlabs.com and follow the directions.