Question 280

An assessment of the CloudWatch alerting deployment has two findings. Finding one: Report a custom application's failed-login count as a CloudWatch time series. Finding two: Compare workload CPU spikes with suspicious outbound behavior on a single dashboard. Which combination remediates both?

  1. Publish a custom metric with consistent namespace and dimensions; and build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics
  2. Publish a custom metric with consistent namespace and dimensions; and set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
  3. Instrument the application for AWS X-Ray tracing; and build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics
  4. Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and instrument the application for AWS X-Ray tracing

Explanation

Correct Answer

A:

The implementation has a specific control for each objective: Custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically for “Report a custom application's failed-login count as a CloudWatch time series”; Dashboards display multiple time series for correlation without themselves blocking network requests for “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard”; the combined option satisfies the two-part request.

Incorrect Answers

B:

The first check would be covered, since custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically; yet the second choice is associated with “Escalate only sustained error rates rather than transient one-minute spikes,” for which alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required; no corresponding control satisfies “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard.”.

C:

While dashboards display multiple time series for correlation without themselves blocking network requests is relevant to “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard,” the other component targets “Capture a sample of application requests for distributed performance and trace correlation,” where X-Ray collects sampled traces of instrumented requests, unlike CloudTrail which audits AWS API activity; the first acceptance criterion (“Report a custom application's failed-login count as a CloudWatch time series”) is not met.

D:

The first proposed action addresses “Escalate only sustained error rates rather than transient one-minute spikes”: Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required; the second addresses “Capture a sample of application requests for distributed performance and trace correlation”: X-Ray collects sampled traces of instrumented requests, unlike CloudTrail which audits AWS API activity; the combination does not achieve the required “Report a custom application's failed-login count as a CloudWatch time series” and “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard” outcomes in this CloudWatch alerting deployment.

Question 281

An architect is reviewing a stored-data encryption architecture. The acceptance criterion reads: Make backups immutable for a specified period. Which approach satisfies it?

  1. Apply AWS Backup Vault Lock with an appropriate configuration
  2. Use S3 Object Lock governance mode with controlled bypass permission
  3. Use S3 Object Lock in compliance mode for the required retention
  4. Configure and lock a Glacier vault access policy with Vault Lock

Explanation

Correct Answer

A:

Vault Lock enforces retention controls on protected recovery points, adding protection against destructive backup changes; it addresses the requirement to make backups immutable for a specified period at the right security boundary during a stored-data encryption architecture.

Incorrect Answers

B:

Governance-mode protection supports narrowly authorized bypass, unlike stricter compliance-mode retention; its scope is the requirement to allow authorized governance operators to override certain S3 retention locks, rather than the requirement to make backups immutable for a specified period for a stored-data encryption architecture.

C:

Compliance-mode retention cannot be shortened or removed by ordinary administrators while the retention period is active; its purpose is the requirement to prevent changes to an S3 object version for a fixed compliance retention period, but the acceptance criterion in a stored-data encryption architecture is the requirement to make backups immutable for a specified period.

D:

Glacier Vault Lock can make vault policy controls immutable after the lock process is finalized; this would help with the requirement to protect a legacy S3 Glacier vault archive against retention-policy alteration, leaving the requirement to make backups immutable for a specified period unresolved in a stored-data encryption architecture.

Question 282

For an account compromise response review, engineers have been assigned this security outcome: Rotate an exposed database password without hardcoding the replacement in an application. What implementation best fits?

  1. Use S3 Object Lock retention on the evidence bucket and objects
  2. Apply a role session revocation deny to sessions issued before the cutoff
  3. Rotate the stored value through Secrets Manager and update dependent clients
  4. Add a manual approval stage to a Step Functions incident-response workflow

Explanation

Correct Answer

C:

Secrets Manager supports controlled secret rotation; callers must retrieve the current secret or refresh cached values to avoid continuing with a compromised password; for an account compromise response review, this is the measure that delivers the requirement to rotate an exposed database password without hardcoding the replacement in an application.

Incorrect Answers

A:

Version-level write-once retention protects retained evidence against deletion or overwriting for the selected period; its purpose is the requirement to prevent accidental removal of a forensic evidence object during an investigation, but the acceptance criterion in an account compromise response review is the requirement to rotate an exposed database password without hardcoding the replacement in an application.

B:

Revoking role sessions introduces a time-based deny for previously issued sessions, rather than relying only on rotating unrelated long-term credentials; its scope is the requirement to invalidate temporary sessions that might remain after an IAM role credential concern, rather than the requirement to rotate an exposed database password without hardcoding the replacement in an application for an account compromise response review.

D:

State machines can pause for an external decision before potentially disruptive containment steps execute; the important distinction in an account compromise response review is that this supports the requirement to bring a human approval step into automated containment of a critical production database instead of the requirement to rotate an exposed database password without hardcoding the replacement in an application.

Question 283

A security review for an infrastructure-as-code rollout identifies one priority: Prevent deployment of a CloudFormation stack that violates defined policy requirements. Which control is the best choice?

  1. Apply CloudFormation Hooks or supported predeployment policy checks
  2. Use version-controlled AWS CloudFormation templates with approved parameters
  3. Run CloudFormation drift detection on supported stack resources
  4. Use CloudFormation change sets and an approval workflow

Explanation

Correct Answer

A:

Preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation; this is the direct solution to the requirement to prevent deployment of a CloudFormation stack that violates defined policy requirements in an infrastructure-as-code rollout.

Incorrect Answers

B:

For the different objective “Deploy the same reviewed infrastructure security settings across environments,” infrastructure as code expresses resource baselines reproducibly and makes unauthorized differences easier to investigate; the scenario instead requires “Prevent deployment of a CloudFormation stack that violates defined policy requirements,” which is a separate security mechanism.

C:

Drift detection compares actual supported resource properties with declared template expectations; its scope is the requirement to detect manual changes to a resource after CloudFormation deployment, rather than the requirement to prevent deployment of a CloudFormation stack that violates defined policy requirements for an infrastructure-as-code rollout.

D:

Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution; its scope is the requirement to require an explicit review before changing production infrastructure templates, rather than the requirement to prevent deployment of a CloudFormation stack that violates defined policy requirements for an infrastructure-as-code rollout.

Question 284

For an EC2 and EKS workload security assessment, engineers have been assigned this security outcome: Deploy a repeatable hardened operating-system image to new instances. What implementation best fits?

  1. Build and test a hardened AMI with EC2 Image Builder
  2. Enable Amazon ECR image scanning with an appropriate scanning mode
  3. Use Systems Manager Patch Manager with approved baselines
  4. Enable Amazon Inspector EC2 scanning and review its findings
  5. Attach an IAM instance profile with a least-privilege role

Explanation

Correct Answer

A:

Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; that AWS behavior meets the requirement to deploy a repeatable hardened operating-system image to new instances, the decisive objective for an EC2 and EKS workload security assessment.

Incorrect Answers

B:

For the different objective “Assess known vulnerabilities in container images stored in a registry,” ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; the scenario instead requires “Deploy a repeatable hardened operating-system image to new instances,” which is a separate security mechanism.

C:

Patch Manager coordinates OS patch compliance and installation on managed nodes according to selected patch baselines; this addresses the requirement to install security patches on a large fleet without individually logging in, not the requirement to deploy a repeatable hardened operating-system image to new instances, which is needed in an EC2 and EKS workload security assessment.

D:

Inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; its scope is the requirement to detect package vulnerabilities on supported EC2 instances, rather than the requirement to deploy a repeatable hardened operating-system image to new instances for an EC2 and EKS workload security assessment.

E:

Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; its scope is the requirement to avoid storing long-term AWS access keys on an EC2 instance, rather than the requirement to deploy a repeatable hardened operating-system image to new instances for an EC2 and EKS workload security assessment.

Question 285

An implementation in the credential and federation review must solve two separate problems, not merely strengthen one safeguard: Provide temporary privileges for a user authenticated with a supported OIDC token; Restrict the duration of an elevated administrative session. Which change meets the full request?

  1. Configure an OIDC provider and AssumeRoleWithWebIdentity trust relationship; and use STS AssumeRole with a cross-account role trust policy
  2. Configure an OIDC provider and AssumeRoleWithWebIdentity trust relationship; and set an appropriate role maximum session duration and request a bounded session
  3. Use STS AssumeRole with a cross-account role trust policy; and inspect CloudTrail userIdentity and role session context
  4. Inspect CloudTrail userIdentity and role session context; and set an appropriate role maximum session duration and request a bounded session

Explanation

Correct Answer

B:

This pairing handles the first requirement (“Provide temporary privileges for a user authenticated with a supported OIDC token”) because web identity federation exchanges a valid identity token for short-lived role credentials without storing an AWS IAM user key; it handles the second (“Restrict the duration of an elevated administrative session”) because temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

One action is correctly chosen for “Provide temporary privileges for a user authenticated with a supported OIDC token”: Web identity federation exchanges a valid identity token for short-lived role credentials without storing an AWS IAM user key; the companion action relates to “Run a workload in a different account without storing destination-account access keys”: AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions; the other requested outcome, “Restrict the duration of an elevated administrative session,” remains outstanding.

C:

Both mechanisms have legitimate uses, but for other requirements: AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions supports “Run a workload in a different account without storing destination-account access keys”; CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption supports “Trace which workforce user started an assumed-role API call”; this does not resolve the stated “Provide temporary privileges for a user authenticated with a supported OIDC token” and “Restrict the duration of an elevated administrative session” findings.

D:

This solves the second problem (“Restrict the duration of an elevated administrative session”): Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys; however, the first action addresses “Trace which workforce user started an assumed-role API call”: CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption; it does not satisfy “Provide temporary privileges for a user authenticated with a supported OIDC token.”.

Question 286

In a logging access troubleshooting session, engineers must cover two different requirements: An S3 log archive is editable by identities outside the security account. In addition, CloudWatch Logs Insights users receive an authorization error during queries. Which option implements both?

  1. Add restrictive bucket controls and object retention, not just lifecycle rules; and allow the needed logs query API actions on appropriate resources
  2. Add restrictive bucket controls and object retention, not just lifecycle rules; and grant least-privilege S3 object read access and any required KMS decrypt rights
  3. Confirm the trail is an organization trail and organizational settings are active; and allow the needed logs query API actions on appropriate resources
  4. Grant least-privilege S3 object read access and any required KMS decrypt rights; and confirm the trail is an organization trail and organizational settings are active

Explanation

Correct Answer

A:

This pairing handles the first requirement (“An S3 log archive is editable by identities outside the security account”) because access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; it handles the second (“CloudWatch Logs Insights users receive an authorization error during queries”) because reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; both acceptance criteria are therefore addressed.

Incorrect Answers

B:

One action is correctly chosen for “An S3 log archive is editable by identities outside the security account”: Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; the companion action relates to “A destination bucket accepts logs but investigators cannot read them”: Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; the other requested outcome, “CloudWatch Logs Insights users receive an authorization error during queries,” remains outstanding.

C:

This solves the second problem (“CloudWatch Logs Insights users receive an authorization error during queries”): Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; however, the first action addresses “An organization trail omits a recently joined account's events”: A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; it does not satisfy “An S3 log archive is editable by identities outside the security account.”.

D:

Both mechanisms have legitimate uses, but for other requirements: Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers supports “A destination bucket accepts logs but investigators cannot read them”; A standard account trail does not automatically provide comprehensive member-account management coverage across an organization supports “An organization trail omits a recently joined account's events”; this does not resolve the stated “An S3 log archive is editable by identities outside the security account” and “CloudWatch Logs Insights users receive an authorization error during queries” findings.

Question 287

A proposed solution for the key and certificate lifecycle review is incomplete unless it addresses both of these checks: Restrict KMS key administration separately from data-key usage; and Generate a plaintext data key for local envelope encryption by an authorized application. Which choice provides the necessary controls?

  1. Use distinct KMS key policy statements for key managers and key users; and revoke the issued certificate through the private CA process and publish revocation information
  2. Use distinct KMS key policy statements for key managers and key users; and call KMS GenerateDataKey and protect the returned plaintext key in memory
  3. Revoke the issued certificate through the private CA process and publish revocation information; and request and validate an ACM public certificate
  4. Request and validate an ACM public certificate; and call KMS GenerateDataKey and protect the returned plaintext key in memory

Explanation

Correct Answer

B:

For the first acceptance test, “Restrict KMS key administration separately from data-key usage,” administrative actions and cryptographic actions can be delegated to separate principals, reducing unnecessary decrypt privileges; for the second, “Generate a plaintext data key for local envelope encryption by an authorized application,” the response provides a plaintext data key and encrypted key copy; the application encrypts bulk data locally and stores only the wrapped key; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

Administrative actions and cryptographic actions can be delegated to separate principals, reducing unnecessary decrypt privileges supports the “Restrict KMS key administration separately from data-key usage” acceptance test; Certificate revocation mechanisms help relying parties reject compromised certificates when clients check the issued revocation data is pertinent to “Revoke a certificate that should no longer be trusted in a private PKI” instead; the change therefore omits the separate requirement “Generate a plaintext data key for local envelope encryption by an authorized application.”.

C:

Neither action is targeted at the two acceptance tests: Certificate revocation mechanisms help relying parties reject compromised certificates when clients check the issued revocation data is about “Revoke a certificate that should no longer be trusted in a private PKI,” and ACM manages certificate issuance and renewal for supported integrations after domain-control validation is about “Issue a public TLS certificate for an eligible AWS integrated endpoint”; the intended “Restrict KMS key administration separately from data-key usage” and “Generate a plaintext data key for local envelope encryption by an authorized application” requirements remain unsatisfied.

D:

The mechanism for “Generate a plaintext data key for local envelope encryption by an authorized application” is present: The response provides a plaintext data key and encrypted key copy; the application encrypts bulk data locally and stores only the wrapped key; the additional mechanism relates to “Issue a public TLS certificate for an eligible AWS integrated endpoint”: ACM manages certificate issuance and renewal for supported integrations after domain-control validation; nothing here completes “Restrict KMS key administration separately from data-key usage.”.

Question 288

In a public web application perimeter review, a control owner must address the following requirement: Prevent all public access to an internal API endpoint. Which option should be selected?

  1. Apply an AWS WAF IP set match condition on the front-end web ACL
  2. Configure the CloudFront viewer protocol policy to redirect or require HTTPS
  3. Use API Gateway private endpoint access with an appropriate resource policy
  4. Enable Route 53 domain transfer lock where applicable
  5. Use AWS WAF Bot Control managed rule groups where supported

Explanation

Correct Answer

C:

A private API can be reached through supported interface endpoints and resource policies rather than a public internet-facing invoke URL; that AWS behavior meets the requirement to prevent all public access to an internal API endpoint, the decisive objective for a public web application perimeter review.

Incorrect Answers

A:

IP sets match the configured client addresses, whereas DNS routing records do not filter application requests; its scope is the requirement to enforce a narrow set of IP ranges for public HTTP clients, rather than the requirement to prevent all public access to an internal API endpoint for a public web application perimeter review.

B:

The viewer-side protocol policy governs HTTP-to-HTTPS behavior independently of origin protocol configuration; this addresses the requirement to require viewer connections to a CloudFront distribution to use HTTPS, not the requirement to prevent all public access to an internal API endpoint, which is needed in a public web application perimeter review.

D:

Transfer locking limits unauthorized domain transfers, which is a registrar-level safeguard rather than a WAF request rule; this would help with the requirement to protect against unwanted DNS redirection through domain management, leaving the requirement to prevent all public access to an internal API endpoint unresolved in a public web application perimeter review.

E:

Bot Control evaluates bot-related request signals at the web ACL, rather than relying only on Layer 3 network filtering; the important distinction in a public web application perimeter review is that this supports the requirement to identify and block bot-like HTTP behaviors with application-aware inspection instead of the requirement to prevent all public access to an internal API endpoint.

Question 289

During a security tool integration assessment, the security team has this work item: Identify externally accessible resources implied by resource policies. Which AWS action is the most direct implementation?

  1. Use Amazon Detective to pivot through related entities
  2. Enable GuardDuty S3 Protection for supported object activity
  3. Run IAM Access Analyzer external-access analysis
  4. Enable GuardDuty threat detection for the relevant AWS accounts and Regions

Explanation

Correct Answer

C:

Access Analyzer evaluates supported resource policies for access outside the configured zone of trust, highlighting unexpected sharing; this behavior fulfills the requirement to identify externally accessible resources implied by resource policies during a security tool integration assessment.

Incorrect Answers

A:

Detective organizes security telemetry into related entities and investigation views, assisting root-cause analysis rather than supplying a prevention rule; its scope is the requirement to investigate relationships among a GuardDuty finding, IAM identities, and communicating IP addresses, rather than the requirement to identify externally accessible resources implied by resource policies for a security tool integration assessment.

B:

GuardDuty S3 Protection analyzes relevant S3 object activity for potential threats, while ordinary CloudTrail management history does not cover all object operations; its scope is the requirement to detect anomalous API activity against S3 objects with managed threat monitoring, rather than the requirement to identify externally accessible resources implied by resource policies for a security tool integration assessment.

D:

GuardDuty analyzes supported account and workload signals to generate threat findings without requiring a custom event-correlation pipeline; this addresses the requirement to detect anomalous AWS API usage and suspicious VPC or DNS patterns from managed threat intelligence, not the requirement to identify externally accessible resources implied by resource policies, which is needed in a security tool integration assessment.

Question 290

The AWS Organizations policy program cannot pass unless both of these outcomes are demonstrated: Apply common permission guardrails across member AWS accounts; Provision a governed set of accounts with baseline logging and identity controls. Which two-part plan is suitable?

  1. Configure AWS Organizations service control policies at the appropriate hierarchy; and create trusted cross-account IAM roles and controlled STS assumption paths
  2. Configure AWS Organizations service control policies at the appropriate hierarchy; and establish an AWS Control Tower landing zone with account governance
  3. Create trusted cross-account IAM roles and controlled STS assumption paths; and configure a delegated administrator for AWS Security Hub
  4. Configure a delegated administrator for AWS Security Hub; and establish an AWS Control Tower landing zone with account governance

Explanation

Correct Answer

B:

Two different security outcomes are required in this AWS Organizations policy program; SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions supports “Apply common permission guardrails across member AWS accounts,” while Control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services supports “Provision a governed set of accounts with baseline logging and identity controls”; neither check is assumed to follow from the other.

Incorrect Answers

A:

This option is only partly effective: SCPs constrain affected principals' maximum permissions in member accounts, independently from the IAM policies that grant actions supports “Apply common permission guardrails across member AWS accounts”; but Cross-account role sessions supply temporary access bounded by the target role's trust and permission policies supports “Give security staff cross-account administrative access without sharing root passwords,” not the required “Provision a governed set of accounts with baseline logging and identity controls” outcome.

C:

Cross-account role sessions supply temporary access bounded by the target role's trust and permission policies is pertinent to “Give security staff cross-account administrative access without sharing root passwords,” and Delegated administration allows a designated member account to administer a security service's supported organization-wide features is pertinent to “Provide a central place to manage security findings for multiple accounts”; the requested controls for “Apply common permission guardrails across member AWS accounts” and “Provision a governed set of accounts with baseline logging and identity controls” are absent.

D:

The option has a useful control for “Provision a governed set of accounts with baseline logging and identity controls” because control Tower orchestrates account setup and preventive/detective controls on top of Organizations and related services; its other control applies to “Provide a central place to manage security findings for multiple accounts” because delegated administration allows a designated member account to administer a security service's supported organization-wide features; it misses the first requirement, “Apply common permission guardrails across member AWS accounts.”.

AWS Certified Security - Specialty SCS-C03 Practice Tests