Question 800

A security architecture review for a managed-node security baseline audit contains 3 independently assessed work items: (1) Use Secrets Manager values inside application containers without embedding them in image layers; (2) Restrict a Lambda function's access to S3 operations; (3) Prevent an EKS pod from inheriting broad worker-node permissions. Which actions directly implement those requirements? Choose THREE.

  1. Enable Amazon ECR image scanning with an appropriate scanning mode
  2. Assign a least-privilege ECS task IAM role
  3. Retrieve secrets at runtime using the workload's permitted IAM role
  4. Use IAM roles for service accounts for the pod's supported identity pattern
  5. Narrow the Lambda execution role's identity policy

Explanation

Correct Answers

C:

Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; in a managed-node security baseline audit, this is one of the independently required safeguards because it addresses the requirement to use Secrets Manager values inside application containers without embedding them in image layers.

D:

Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload; in a managed-node security baseline audit, this is one of the independently required safeguards because it addresses the requirement to prevent an EKS pod from inheriting broad worker-node permissions.

E:

Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it; in a managed-node security baseline audit, this is one of the independently required safeguards because it addresses the requirement to restrict a Lambda function's access to S3 operations.

Incorrect Answers

A:

ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; in a managed-node security baseline audit, that supports the requirement to assess known vulnerabilities in container images stored in a registry, which is distinct from the 3 enumerated security work items.

B:

Task roles supply AWS credentials to containers in the task; the EC2 instance role serves a different execution scope; in a managed-node security baseline audit, that supports the requirement to limit an ECS task's AWS API permissions independently of the host, which is distinct from the 3 enumerated security work items.

Question 801

In an automated notification design, a control owner must address the following requirement: Escalate only sustained error rates rather than transient one-minute spikes. Which option should be selected?

  1. Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm
  2. Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately
  3. Build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics
  4. Instrument the application for AWS X-Ray tracing
  5. Forward structured application events into CloudWatch Logs

Explanation

Correct Answer

B:

Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required; it addresses the requirement to escalate only sustained error rates rather than transient one-minute spikes at the right security boundary during an automated notification design.

Incorrect Answers

A:

For the different objective “Raise an alert after repeated failed root-user console attempts,” metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; the scenario instead requires “Escalate only sustained error rates rather than transient one-minute spikes,” which is a separate security mechanism.

C:

Dashboards display multiple time series for correlation without themselves blocking network requests; its scope is the requirement to compare workload CPU spikes with suspicious outbound behavior on a single dashboard, rather than the requirement to escalate only sustained error rates rather than transient one-minute spikes for an automated notification design.

D:

X-Ray collects sampled traces of instrumented requests, unlike CloudTrail which audits AWS API activity; its scope is the requirement to capture a sample of application requests for distributed performance and trace correlation, rather than the requirement to escalate only sustained error rates rather than transient one-minute spikes for an automated notification design.

E:

Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries; its purpose is the requirement to provide application logs for real-time filtering and alarms, but the acceptance criterion in an automated notification design is the requirement to escalate only sustained error rates rather than transient one-minute spikes.

Question 802

A security review for a container image deployment pipeline identifies one priority: Install security patches on a large fleet without individually logging in. Which control is the best choice?

  1. Build and test a hardened AMI with EC2 Image Builder
  2. Enable Amazon Inspector EC2 scanning and review its findings
  3. Use Systems Manager Patch Manager with approved baselines
  4. Require IMDSv2 on the instance metadata options

Explanation

Correct Answer

C:

Patch Manager coordinates OS patch compliance and installation on managed nodes according to selected patch baselines; for a container image deployment pipeline, this is the measure that delivers the requirement to install security patches on a large fleet without individually logging in.

Incorrect Answers

A:

Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; its purpose is the requirement to deploy a repeatable hardened operating-system image to new instances, but the acceptance criterion in a container image deployment pipeline is the requirement to install security patches on a large fleet without individually logging in.

B:

Inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; this addresses the requirement to detect package vulnerabilities on supported EC2 instances, not the requirement to install security patches on a large fleet without individually logging in, which is needed in a container image deployment pipeline.

D:

Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios; its scope is the requirement to block access to the EC2 Instance Metadata Service version 1, rather than the requirement to install security patches on a large fleet without individually logging in for a container image deployment pipeline.

Question 803

An assessment of the key and certificate lifecycle review has two findings. Finding one: Rotate cryptographic key material for eligible symmetric customer-managed KMS keys. Finding two: Authorize cryptographic key use for a temporary service integration without broadly editing policies. Which combination remediates both?

  1. Configure supported AWS KMS automatic key rotation; and create a narrowly scoped AWS KMS grant
  2. Configure supported AWS KMS automatic key rotation; and choose the appropriate KMS key spec and key usage for encryption or sign/verify
  3. Import key material into a supported KMS key with an origin of EXTERNAL; and create a narrowly scoped AWS KMS grant
  4. Choose the appropriate KMS key spec and key usage for encryption or sign/verify; and import key material into a supported KMS key with an origin of EXTERNAL

Explanation

Correct Answer

A:

The implementation has a specific control for each objective: Key rotation changes key material while keeping the logical key identifier for supported symmetric customer-managed keys for “Rotate cryptographic key material for eligible symmetric customer-managed KMS keys”; Grants delegate selected KMS operations under constraints, useful for temporary or AWS-service-driven access patterns for “Authorize cryptographic key use for a temporary service integration without broadly editing policies”; the combined option satisfies the two-part request.

Incorrect Answers

B:

The first check would be covered, since key rotation changes key material while keeping the logical key identifier for supported symmetric customer-managed keys; yet the second choice is associated with “Separate symmetric encryption keys from signing keys,” for which KMS key usage and key spec define supported cryptographic operations; encryption keys are not interchangeable with signing keys; no corresponding control satisfies “Authorize cryptographic key use for a temporary service integration without broadly editing policies.”.

C:

While grants delegate selected KMS operations under constraints, useful for temporary or AWS-service-driven access patterns is relevant to “Authorize cryptographic key use for a temporary service integration without broadly editing policies,” the other component targets “Bring independently generated symmetric material into a KMS key under defined import requirements,” where imported key material follows expiration and deletion considerations different from AWS-generated key material; the first acceptance criterion (“Rotate cryptographic key material for eligible symmetric customer-managed KMS keys”) is not met.

D:

The first proposed action addresses “Separate symmetric encryption keys from signing keys”: KMS key usage and key spec define supported cryptographic operations; encryption keys are not interchangeable with signing keys; the second addresses “Bring independently generated symmetric material into a KMS key under defined import requirements”: Imported key material follows expiration and deletion considerations different from AWS-generated key material; the combination does not achieve the required “Rotate cryptographic key material for eligible symmetric customer-managed KMS keys” and “Authorize cryptographic key use for a temporary service integration without broadly editing policies” outcomes in this key and certificate lifecycle review.

Question 804

A change request in the permissions and authorization review will be approved only if it delivers both outcomes: Allow a user to inspect effective permissions without modifying policies; An organization needs a cap on administrator-created IAM roles. What should be included?

  1. Replace broad key-administration grants with explicit actions and principals; and add required permissions to the assumed role rather than the original user
  2. Add required permissions to the assumed role rather than the original user; and attach permissions boundaries to delegated role-creation workflows
  3. Grant read-only IAM and relevant Access Analyzer inspection actions; and replace broad key-administration grants with explicit actions and principals
  4. Grant read-only IAM and relevant Access Analyzer inspection actions; and attach permissions boundaries to delegated role-creation workflows

Explanation

Correct Answer

D:

For the first acceptance test, “Allow a user to inspect effective permissions without modifying policies,” visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties; for the second, “An organization needs a cap on administrator-created IAM roles,” boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

Neither action is targeted at the two acceptance tests: Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls is about “Prevent use of wildcards for sensitive KMS administration capabilities,” and After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller is about “Explain why an IAM inline policy attached to a user does not affect an assumed role”; the intended “Allow a user to inspect effective permissions without modifying policies” and “An organization needs a cap on administrator-created IAM roles” requirements remain unsatisfied.

B:

The mechanism for “An organization needs a cap on administrator-created IAM roles” is present: Boundaries constrain identity-based permissions granted to new roles even when a delegated operator can edit those roles' policies; the additional mechanism relates to “Explain why an IAM inline policy attached to a user does not affect an assumed role”: After STS assumption, AWS evaluates the role session's applicable permissions, not arbitrary identity policies of the caller; nothing here completes “Allow a user to inspect effective permissions without modifying policies.”.

C:

Visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties supports the “Allow a user to inspect effective permissions without modifying policies” acceptance test; Key policy authorization can be restricted by principal and operation, avoiding an unnecessarily permissive wildcard on high-impact crypto controls is pertinent to “Prevent use of wildcards for sensitive KMS administration capabilities” instead; the change therefore omits the separate requirement “An organization needs a cap on administrator-created IAM roles.”.

Question 805

An AWS team is correcting two gaps in the incident response rehearsal: Determine which principal originally assumed a suspicious cross-account role; and Send incident alerts to an on-call distribution group after matching a security finding. Which proposed set of controls fixes both gaps?

  1. Assign its execution role only the actions and resources needed by the runbook; and launch replacement capacity from a verified hardened AMI
  2. Launch replacement capacity from a verified hardened AMI; and route the finding event through EventBridge to an SNS topic
  3. Inspect the AssumeRole event and session identity fields in CloudTrail; and assign its execution role only the actions and resources needed by the runbook
  4. Inspect the AssumeRole event and session identity fields in CloudTrail; and route the finding event through EventBridge to an SNS topic

Explanation

Correct Answer

D:

For “Determine which principal originally assumed a suspicious cross-account role,” the governing behavior is: CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; for the separate check “Send incident alerts to an on-call distribution group after matching a security finding,” it is: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

This combination targets different outcomes: Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused helps with “Prevent a response Lambda from having blanket administrator privileges”; Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated helps with “Recover a known-good workload after an incident while retaining compromised images for evidence”; neither implements the required “Determine which principal originally assumed a suspicious cross-account role” and “Send incident alerts to an on-call distribution group after matching a security finding” outcomes together.

B:

Only the second requirement is covered: SNS fan-out notifies multiple subscribed responders after EventBridge selects the events requiring immediate attention supports “Send incident alerts to an on-call distribution group after matching a security finding”; by contrast, Rebuilding from trusted images avoids continuing to use an altered instance filesystem, while forensic copies can remain isolated concerns “Recover a known-good workload after an incident while retaining compromised images for evidence,” leaving “Determine which principal originally assumed a suspicious cross-account role” unresolved.

C:

The first part is appropriate for “Determine which principal originally assumed a suspicious cross-account role” because CloudTrail records role assumption request context and subsequent session identity information that can tie activity to the originating caller; the second part addresses a different issue (“Prevent a response Lambda from having blanket administrator privileges”) because Lambda uses its execution role for AWS API calls; limiting that role reduces the impact if the automation code is abused; it does not fulfill the “Send incident alerts to an on-call distribution group after matching a security finding” test.

Question 806

A review board evaluating the AWS Organizations policy program rejects fixes that cover just one requirement. The requirements are: Transfer governance of routine security operations away from the management account; and Limit who can invite or remove accounts from an organization. Which configuration addresses both?

  1. Design a documented break-glass role and tightly secured emergency credential process; and restrict Organizations membership API actions to a central administrative role
  2. Review IAM Identity Center assignments and provisioned permission sets; and design a documented break-glass role and tightly secured emergency credential process
  3. Register a supported security-service delegated administrator in a member account; and restrict Organizations membership API actions to a central administrative role
  4. Register a supported security-service delegated administrator in a member account; and review IAM Identity Center assignments and provisioned permission sets

Explanation

Correct Answer

C:

For “Transfer governance of routine security operations away from the management account,” the governing behavior is: Service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails; for the separate check “Limit who can invite or remove accounts from an organization,” it is: Organizations permissions control account relationships and policy attachment at the organization boundary; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

Only the second requirement is covered: Organizations permissions control account relationships and policy attachment at the organization boundary supports “Limit who can invite or remove accounts from an organization”; by contrast, Tested alternate access can preserve incident-response authority while separate logging and approval reduce abuse risk concerns “Define an emergency administrator access route that does not depend on a compromised identity provider,” leaving “Transfer governance of routine security operations away from the management account” unresolved.

B:

This combination targets different outcomes: Central assignments reveal which users and groups can obtain roles in each managed account helps with “Centralize access assignment audits for workforce roles”; Tested alternate access can preserve incident-response authority while separate logging and approval reduce abuse risk helps with “Define an emergency administrator access route that does not depend on a compromised identity provider”; neither implements the required “Transfer governance of routine security operations away from the management account” and “Limit who can invite or remove accounts from an organization” outcomes together.

D:

The first part is appropriate for “Transfer governance of routine security operations away from the management account” because service-specific delegation limits day-to-day use of the most privileged organization account without bypassing the overall service guardrails; the second part addresses a different issue (“Centralize access assignment audits for workforce roles”) because central assignments reveal which users and groups can obtain roles in each managed account; it does not fulfill the “Limit who can invite or remove accounts from an organization” test.

Question 807

In a public application protection review, engineers must cover two different requirements: Restrict access to a website from selected geographic countries. In addition, Apply a maintained collection of common web exploit signatures without individually authoring each rule. Which option implements both?

  1. Apply an AWS WAF geographic match rule; and associate an appropriate AWS WAF managed rule group with the front-end resource
  2. Apply an AWS WAF geographic match rule; and configure an AWS WAF rate-based rule with an appropriate evaluation limit
  3. Enable AWS WAF SQL injection match or an appropriate managed rule group; and associate an appropriate AWS WAF managed rule group with the front-end resource
  4. Configure an AWS WAF rate-based rule with an appropriate evaluation limit; and enable AWS WAF SQL injection match or an appropriate managed rule group

Explanation

Correct Answer

A:

This pairing handles the first requirement (“Restrict access to a website from selected geographic countries”) because geo match conditions use the source geolocation determination for applicable web requests and can block specified countries; it handles the second (“Apply a maintained collection of common web exploit signatures without individually authoring each rule”) because managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives; both acceptance criteria are therefore addressed.

Incorrect Answers

B:

One action is correctly chosen for “Restrict access to a website from selected geographic countries”: Geo match conditions use the source geolocation determination for applicable web requests and can block specified countries; the companion action relates to “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules”: A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; the other requested outcome, “Apply a maintained collection of common web exploit signatures without individually authoring each rule,” remains outstanding.

C:

This solves the second problem (“Apply a maintained collection of common web exploit signatures without individually authoring each rule”): Managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives; however, the first action addresses “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”: Web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request; it does not satisfy “Restrict access to a website from selected geographic countries.”.

D:

Both mechanisms have legitimate uses, but for other requirements: A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients supports “Apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules”; Web ACL inspection can identify suspicious SQL payload patterns before the application processes the HTTP request supports “Match SQL injection signatures in a specific HTTP request field using a custom WAF rule”; this does not resolve the stated “Restrict access to a website from selected geographic countries” and “Apply a maintained collection of common web exploit signatures without individually authoring each rule” findings.

Question 808

A security review for a security log permissions review identifies one priority: A destination bucket accepts logs but investigators cannot read them. Which control is the best choice?

  1. Allow the needed logs query API actions on appropriate resources
  2. Grant least-privilege S3 object read access and any required KMS decrypt rights
  3. Fix the delivery role's S3 write and applicable KMS permissions
  4. Add restrictive bucket controls and object retention, not just lifecycle rules

Explanation

Correct Answer

B:

Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; it addresses the reported condition: a destination bucket accepts logs but investigators cannot read them at the right security boundary during a security log permissions review.

Incorrect Answers

A:

Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; this addresses the reported condition: CloudWatch Logs Insights users receive an authorization error during queries, not the reported condition: a destination bucket accepts logs but investigators cannot read them, which is needed in a security log permissions review.

C:

The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; its scope is the reported condition: a Kinesis Firehose delivery stream cannot write log objects to S3, rather than the reported condition: a destination bucket accepts logs but investigators cannot read them for a security log permissions review.

D:

Access authorization and retention safeguards protect evidence; lifecycle configuration determines object aging rather than who can modify it; this addresses the reported condition: an S3 log archive is editable by identities outside the security account, not the reported condition: a destination bucket accepts logs but investigators cannot read them, which is needed in a security log permissions review.

Question 809

A security architecture review for a production secret-rotation project contains 2 independently assessed work items: (1) Issue private TLS certificates for internal services under a controlled private hierarchy; (2) Issue a public TLS certificate for an eligible AWS integrated endpoint. Which actions directly implement those requirements? Choose TWO.

  1. Request and validate an ACM public certificate
  2. Configure AWS Private CA and issue certificates through the private CA workflow
  3. Revoke the issued certificate through the private CA process and publish revocation information
  4. Call KMS GenerateDataKey and protect the returned plaintext key in memory

Explanation

Correct Answers

A:

ACM manages certificate issuance and renewal for supported integrations after domain-control validation; in a production secret-rotation project, this is one of the independently required safeguards because it addresses the requirement to issue a public TLS certificate for an eligible AWS integrated endpoint.

B:

Private CA supports privately trusted X.509 issuance whose trust chain must be distributed to internal clients; in a production secret-rotation project, this is one of the independently required safeguards because it addresses the requirement to issue private TLS certificates for internal services under a controlled private hierarchy.

Incorrect Answers

C:

Certificate revocation mechanisms help relying parties reject compromised certificates when clients check the issued revocation data; in a production secret-rotation project, that supports the requirement to revoke a certificate that should no longer be trusted in a private PKI, which is distinct from the 2 enumerated security work items.

D:

The response provides a plaintext data key and encrypted key copy; the application encrypts bulk data locally and stores only the wrapped key; in a production secret-rotation project, that supports the requirement to generate a plaintext data key for local envelope encryption by an authorized application, which is distinct from the 2 enumerated security work items.

Question 810

A security review for a resource-policy access decision identifies one priority: An identity has no applicable allow for an AWS operation. Which control is the best choice?

  1. Add a narrowly scoped explicit allow where the policy model requires it
  2. Remove or narrow the applicable explicit deny only after validating policy intent
  3. Evaluate the intersection of identity policy permissions and the role's boundary
  4. Update the SCP guardrail or choose an allowed operation while retaining least privilege

Explanation

Correct Answer

A:

IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; that AWS behavior meets the reported condition: an identity has no applicable allow for an AWS operation, the decisive objective for a resource-policy access decision.

Incorrect Answers

B:

For the different objective “An identity has an IAM allow but a matching explicit deny is also present,” IAM explicit deny takes precedence over allows from other applicable permission policies for the same request; the scenario instead requires “An identity has no applicable allow for an AWS operation,” which is a separate security mechanism.

C:

A permissions boundary caps identity-based permissions and does not itself grant additional AWS API privileges; this addresses the reported condition: an IAM role has broad permissions but a permissions boundary limits it, not the reported condition: an identity has no applicable allow for an AWS operation, which is needed in a resource-policy access decision.

D:

SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; this would help with the reported condition: an IAM policy allows an action but an Organizations SCP excludes it, leaving the reported condition: an identity has no applicable allow for an AWS operation unresolved in a resource-policy access decision.

AWS Certified Security - Specialty SCS-C03 Practice Tests