Question 390

A proposed solution for the compliance evidence and drift review is incomplete unless it addresses both of these checks: Demonstrate which account actions changed a security posture setting; and Preserve compliance history of changes to resource configurations. Which choice provides the necessary controls?

  1. Associate an AWS Systems Manager Automation remediation action with a Config rule; and query historical AWS Config configuration items and rule evaluations
  2. Query historical AWS Config configuration items and rule evaluations; and enable AWS Config recorders and delivery to controlled storage
  3. Cross-reference CloudTrail API activity with AWS Config configuration history; and associate an AWS Systems Manager Automation remediation action with a Config rule
  4. Cross-reference CloudTrail API activity with AWS Config configuration history; and enable AWS Config recorders and delivery to controlled storage

Explanation

Correct Answer

D:

For the first acceptance test, “Demonstrate which account actions changed a security posture setting,” CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts; for the second, “Preserve compliance history of changes to resource configurations,” configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; 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: Config detects a violation and automation can apply a predefined corrective runbook with authorized permissions is about “Create automated remediation for noncompliant resources detected by Config,” and Config history records supported configuration states, providing evidence of earlier insecure ingress settings is about “Determine whether a security group ever allowed public administrative ports”; the intended “Demonstrate which account actions changed a security posture setting” and “Preserve compliance history of changes to resource configurations” requirements remain unsatisfied.

B:

The mechanism for “Preserve compliance history of changes to resource configurations” is present: Configuration item history supports reconstruction of resource state changes rather than tracking only a current compliance flag; the additional mechanism relates to “Determine whether a security group ever allowed public administrative ports”: Config history records supported configuration states, providing evidence of earlier insecure ingress settings; nothing here completes “Demonstrate which account actions changed a security posture setting.”.

C:

CloudTrail identifies calling principals, while Config describes recorded resource state changes and compliance impacts supports the “Demonstrate which account actions changed a security posture setting” acceptance test; Config detects a violation and automation can apply a predefined corrective runbook with authorized permissions is pertinent to “Create automated remediation for noncompliant resources detected by Config” instead; the change therefore omits the separate requirement “Preserve compliance history of changes to resource configurations.”.

Question 391

An architect is reviewing a resource-policy access decision. The acceptance criterion reads: An overly broad policy includes actions never used by the principal. Which approach satisfies it?

  1. Remove or narrow the applicable explicit deny only after validating policy intent
  2. Grant tightly scoped iam:PassRole to the approved service role
  3. Review IAM Access Analyzer external access findings for supported resource policies
  4. Update the resource policy to reference the intended role or session principal
  5. Use IAM Access Analyzer policy generation from CloudTrail activity as a refinement input

Explanation

Correct Answer

E:

Policy generation can propose narrower allowed actions based on observed usage, subject to the observation window and supported event sources; this is the direct solution to the reported condition: an overly broad policy includes actions never used by the principal in a resource-policy access decision.

Incorrect Answers

A:

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 overly broad policy includes actions never used by the principal,” which is a separate security mechanism.

B:

Passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone; its scope is the reported condition: a developer can create roles but cannot pass them to an EC2 service, rather than the reported condition: an overly broad policy includes actions never used by the principal for a resource-policy access decision.

C:

Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents; the important distinction in a resource-policy access decision is that this supports the reported condition: a developer needs to see whether an S3 bucket is exposed beyond an account trust zone instead of the reported condition: an overly broad policy includes actions never used by the principal.

D:

Authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities; this addresses the reported condition: an assumed role is denied by a resource policy that names the wrong principal, not the reported condition: an overly broad policy includes actions never used by the principal, which is needed in a resource-policy access decision.

Question 392

For a cloud audit log deployment, engineers have been assigned this security outcome: Keep a central log bucket inaccessible to public principals. What implementation best fits?

  1. Configure the required CloudTrail service-principal bucket policy permissions
  2. Enable AWS Config recording and history delivery
  3. Set each relevant log group's retention policy explicitly
  4. Apply S3 Block Public Access and restrictive bucket policy conditions
  5. Use S3 Object Lock retention with appropriate mode on versioned log objects

Explanation

Correct Answer

D:

Blocking public access and limiting principals protects delivered log objects independently from the logging service configuration; it addresses the requirement to keep a central log bucket inaccessible to public principals at the right security boundary during a cloud audit log deployment.

Incorrect Answers

A:

Trail delivery depends on the destination policy allowing the logging service to write to the correct bucket path; this would help with the requirement to allow CloudTrail to deliver logs into a hardened destination bucket, leaving the requirement to keep a central log bucket inaccessible to public principals unresolved in a cloud audit log deployment.

B:

Config records supported resource configuration states; CloudTrail complements it by identifying management API callers and timing; this addresses the requirement to observe configuration changes to security-sensitive AWS resources over time, not the requirement to keep a central log bucket inaccessible to public principals, which is needed in a cloud audit log deployment.

C:

Log retention settings govern when CloudWatch deletes aged events; the default can retain events indefinitely unless changed; this would help with the requirement to keep CloudWatch Logs data for a mandated finite retention interval, leaving the requirement to keep a central log bucket inaccessible to public principals unresolved in a cloud audit log deployment.

E:

Retention enforces per-version write-once protection; lifecycle transitions alone do not prevent early deletion; this addresses the requirement to prevent attackers from deleting retained audit-log versions for a required period, not the requirement to keep a central log bucket inaccessible to public principals, which is needed in a cloud audit log deployment.

Question 393

An implementation in the traffic encryption assessment must solve two separate problems, not merely strengthen one safeguard: Require clients to use TLS when contacting a Redshift cluster; Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection. Which change meets the full request?

  1. Use EFS mount helper TLS encryption for file system client mounts; and configure MACsec with compatible connection settings
  2. Configure MACsec with compatible connection settings; and add Site-to-Site VPN over Direct Connect where supported
  3. Enable the cluster's require-SSL parameter and configure clients for TLS; and use EFS mount helper TLS encryption for file system client mounts
  4. Enable the cluster's require-SSL parameter and configure clients for TLS; and add Site-to-Site VPN over Direct Connect where supported

Explanation

Correct Answer

D:

This pairing handles the first requirement (“Require clients to use TLS when contacting a Redshift cluster”) because A database service can enforce protected sessions with engine configuration rather than relying only on subnet isolation; it handles the second (“Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection”) because A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

Both mechanisms have legitimate uses, but for other requirements: EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly supports “Secure transport for an EFS file system from application instances”; MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing supports “Use an encrypted link layer on eligible dedicated Direct Connect connections”; this does not resolve the stated “Require clients to use TLS when contacting a Redshift cluster” and “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection” findings.

B:

This solves the second problem (“Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection”): A dedicated private circuit does not inherently guarantee application encryption, while an IPsec overlay protects the carried traffic; however, the first action addresses “Use an encrypted link layer on eligible dedicated Direct Connect connections”: MACsec provides Layer 2 link encryption on supported Direct Connect deployments, distinct from VPN authentication and routing; it does not satisfy “Require clients to use TLS when contacting a Redshift cluster.”.

C:

One action is correctly chosen for “Require clients to use TLS when contacting a Redshift cluster”: A database service can enforce protected sessions with engine configuration rather than relying only on subnet isolation; the companion action relates to “Secure transport for an EFS file system from application instances”: EFS TLS protects in-transit NFS-related communication when the mount helper is configured accordingly; the other requested outcome, “Encrypt traffic across Direct Connect with an end-to-end IPsec VPN overlay instead of link-layer-only protection,” remains outstanding.

Question 394

In a content delivery security deployment, a control owner must address the following requirement: Restrict access to a website from selected geographic countries. Which option should be selected?

  1. Use an AWS WAF byte-match statement on the specified header
  2. Apply an AWS WAF geographic match rule
  3. 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

Explanation

Correct Answer

B:

Geo match conditions use the source geolocation determination for applicable web requests and can block specified countries; for a content delivery security deployment, this is the measure that delivers the requirement to restrict access to a website from selected geographic countries.

Incorrect Answers

A:

Byte matching inspects configured parts of an HTTP request, providing an application-layer condition rather than a transport-layer port rule; its scope is the requirement to block HTTP requests carrying a disallowed header value, rather than the requirement to restrict access to a website from selected geographic countries for a content delivery security deployment.

C:

Managed rule groups apply curated signatures and rules for common web exploits while allowing tuning of false positives; this would help with the requirement to apply a maintained collection of common web exploit signatures without individually authoring each rule, leaving the requirement to restrict access to a website from selected geographic countries unresolved in a content delivery security deployment.

D:

A rate-based web ACL rule counts matching requests over an evaluation window and can restrict abusive HTTP clients; its purpose is the requirement to apply a defined per-IP request-rate threshold to an HTTP API without writing bot classification rules, but the acceptance criterion in a content delivery security deployment is the requirement to restrict access to a website from selected geographic countries.

Question 395

An assessment of the active security incident investigation has two findings. Finding one: Contain an EC2 instance showing command-and-control traffic without deleting the machine. Finding two: Block repeated malicious web requests while the origin is being investigated. Which combination remediates both?

  1. Inspect S3 data events in CloudTrail for the bucket; and capture a memory image before shutting down the suspect instance
  2. Capture a memory image before shutting down the suspect instance; and apply an AWS WAF IP or rate-based rule to the application edge
  3. Quarantine its network interfaces with restrictive security-group rules; and inspect S3 data events in CloudTrail for the bucket
  4. Quarantine its network interfaces with restrictive security-group rules; and apply an AWS WAF IP or rate-based rule to the application edge

Explanation

Correct Answer

D:

The implementation has a specific control for each objective: Network isolation can stop new unwanted communication while preserving the host for examination and snapshot capture for “Contain an EC2 instance showing command-and-control traffic without deleting the machine”; WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows for “Block repeated malicious web requests while the origin is being investigated”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first proposed action addresses “Find which IAM session made a suspicious DeleteObject call”: Object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period; the second addresses “Preserve volatile evidence that an EBS snapshot would miss”: EBS snapshots preserve disk blocks, whereas RAM artifacts and active process state require a separate live-memory capture procedure; the combination does not achieve the required “Contain an EC2 instance showing command-and-control traffic without deleting the machine” and “Block repeated malicious web requests while the origin is being investigated” outcomes in this active security incident investigation.

B:

While WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows is relevant to “Block repeated malicious web requests while the origin is being investigated,” the other component targets “Preserve volatile evidence that an EBS snapshot would miss,” where EBS snapshots preserve disk blocks, whereas RAM artifacts and active process state require a separate live-memory capture procedure; the first acceptance criterion (“Contain an EC2 instance showing command-and-control traffic without deleting the machine”) is not met.

C:

The first check would be covered, since network isolation can stop new unwanted communication while preserving the host for examination and snapshot capture; yet the second choice is associated with “Find which IAM session made a suspicious DeleteObject call,” for which object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period; no corresponding control satisfies “Block repeated malicious web requests while the origin is being investigated.”.

Question 396

An architect is reviewing a workload risk assessment. The acceptance criterion reads: Track closure of previously identified architecture security risks over multiple reviews. Which approach satisfies it?

  1. Review AWS Trusted Advisor and Cost Explorer utilization signals
  2. Record prioritized Security pillar improvement actions and revisit open risks in the Well-Architected Tool
  3. Configure AWS Cost Anomaly Detection monitoring
  4. Review the Security pillar in AWS Well-Architected Tool

Explanation

Correct Answer

B:

A documented improvement plan turns review findings into tracked mitigation decisions instead of treating the questionnaire as a one-time score; it addresses the requirement to track closure of previously identified architecture security risks over multiple reviews at the right security boundary during a workload risk assessment.

Incorrect Answers

A:

Utilization and cost signals can guide removal of unnecessary assets, but any deletion still requires dependency assessment; its scope is the requirement to spot unused or idle infrastructure that unnecessarily expands attack surface, rather than the requirement to track closure of previously identified architecture security risks over multiple reviews for a workload risk assessment.

C:

Abnormal spend can flag unexplained resource activity, complementing direct security detectors rather than proving a compromise; the important distinction in a workload risk assessment is that this supports the requirement to detect unexpected cost growth that might reflect compromised compute workloads instead of the requirement to track closure of previously identified architecture security risks over multiple reviews.

D:

The tool guides a structured workload review and produces improvement guidance based on pillar questions; this addresses the requirement to find security design gaps against AWS architecture best practices, not the requirement to track closure of previously identified architecture security risks over multiple reviews, which is needed in a workload risk assessment.

Question 397

For a cross-account delegation audit, engineers have been assigned this security outcome: Delegate permissions to modify one resource's policy without granting broad IAM administration. What implementation best fits?

  1. Grant the resource's specific policy-management actions for its ARN
  2. Enable S3 Block Public Access at the desired account or bucket level
  3. Narrow the IAM role trust policy Principal and conditions
  4. Authorize kms:Decrypt through appropriate key policy and IAM conditions

Explanation

Correct Answer

A:

Service-specific resource policy API rights can be scoped independently from unrelated IAM user and role management privileges; that AWS behavior meets the requirement to delegate permissions to modify one resource's policy without granting broad IAM administration, the decisive objective for a cross-account delegation audit.

Incorrect Answers

B:

Block Public Access controls can reject or restrict public-access configurations independently of normal bucket-policy permits; its scope is the requirement to prevent a public S3 bucket policy even when administrators mistakenly add one, rather than the requirement to delegate permissions to modify one resource's policy without granting broad IAM administration for a cross-account delegation audit.

C:

The trust policy governs who may assume the role; the role permission policy governs what the resulting session may do; this addresses the requirement to ensure a role can be assumed only by the approved external account and principal, not the requirement to delegate permissions to modify one resource's policy without granting broad IAM administration, which is needed in a cross-account delegation audit.

D:

KMS requires key-policy authorization and, where applicable, identity-based permissions; a broad S3 permission does not grant cryptographic key use; this would help with the requirement to permit an application to decrypt only with one designated customer-managed KMS key, leaving the requirement to delegate permissions to modify one resource's policy without granting broad IAM administration unresolved in a cross-account delegation audit.

Question 398

The central log collection migration cannot pass unless both of these outcomes are demonstrated: Audit S3 GetObject operations instead of only bucket-policy changes; Record AWS management API activity in every Region into protected storage. Which two-part plan is suitable?

  1. Enable CloudTrail S3 data event logging for the selected object resources; and configure a multi-Region CloudTrail trail with an S3 destination
  2. Enable CloudTrail S3 data event logging for the selected object resources; and create or query an appropriate CloudTrail Lake event data store
  3. Configure CloudTrail advanced event selectors for required resource ARNs and event names; and configure a multi-Region CloudTrail trail with an S3 destination
  4. Create or query an appropriate CloudTrail Lake event data store; and configure CloudTrail advanced event selectors for required resource ARNs and event names

Explanation

Correct Answer

A:

Two different security outcomes are required in this central log collection migration; Object-level data-plane reads are not included in ordinary management-event history unless data events are configured supports “Audit S3 GetObject operations instead of only bucket-policy changes,” while A multi-Region trail records supported management events across current and newly added Regions in the account supports “Record AWS management API activity in every Region into protected storage”; neither check is assumed to follow from the other.

Incorrect Answers

B:

This option is only partly effective: Object-level data-plane reads are not included in ordinary management-event history unless data events are configured supports “Audit S3 GetObject operations instead of only bucket-policy changes”; but CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices supports “Search historical CloudTrail activity with SQL without managing an analytics cluster,” not the required “Record AWS management API activity in every Region into protected storage” outcome.

C:

The option has a useful control for “Record AWS management API activity in every Region into protected storage” because A multi-Region trail records supported management events across current and newly added Regions in the account; its other control applies to “Capture a narrow subset of expensive S3 data events rather than every object read” because advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs; it misses the first requirement, “Audit S3 GetObject operations instead of only bucket-policy changes.”.

D:

CloudTrail Lake retains selected event types for SQL analysis subject to configured retention and ingestion choices is pertinent to “Search historical CloudTrail activity with SQL without managing an analytics cluster,” and Advanced selectors limit the chosen high-volume events and can reduce unnecessary collection costs is pertinent to “Capture a narrow subset of expensive S3 data events rather than every object read”; the requested controls for “Audit S3 GetObject operations instead of only bucket-policy changes” and “Record AWS management API activity in every Region into protected storage” are absent.

Question 399

In a traffic encryption assessment, engineers must cover two different requirements: Avoid opening inbound SSH ports for remote EC2 administration. In addition, Connect a corporate network to AWS using encrypted tunnels. Which option implements both?

  1. Enforce the supported RDS TLS requirement and install trusted CA certificates on clients; and use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration
  2. Add a bucket policy deny conditioned on aws:SecureTransport being false; and enforce the supported RDS TLS requirement and install trusted CA certificates on clients
  3. Use Systems Manager Session Manager with secure endpoints and authorized session roles; and use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration
  4. Use Systems Manager Session Manager with secure endpoints and authorized session roles; and add a bucket policy deny conditioned on aws:SecureTransport being false

Explanation

Correct Answer

C:

This pairing handles the first requirement (“Avoid opening inbound SSH ports for remote EC2 administration”) because session Manager provides an audited management channel without relying on a publicly reachable SSH service; it handles the second (“Connect a corporate network to AWS using encrypted tunnels”) because IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“Connect a corporate network to AWS using encrypted tunnels”): IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; however, the first action addresses “Require database clients to connect with encrypted PostgreSQL or MySQL sessions”: Database encryption in transit requires an authenticated TLS connection and may need engine-specific configuration; it does not satisfy “Avoid opening inbound SSH ports for remote EC2 administration.”.

B:

Both mechanisms have legitimate uses, but for other requirements: Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest supports “Require client connections to an S3 bucket to use TLS”; Database encryption in transit requires an authenticated TLS connection and may need engine-specific configuration supports “Require database clients to connect with encrypted PostgreSQL or MySQL sessions”; this does not resolve the stated “Avoid opening inbound SSH ports for remote EC2 administration” and “Connect a corporate network to AWS using encrypted tunnels” findings.

D:

One action is correctly chosen for “Avoid opening inbound SSH ports for remote EC2 administration”: Session Manager provides an audited management channel without relying on a publicly reachable SSH service; the companion action relates to “Require client connections to an S3 bucket to use TLS”: Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest; the other requested outcome, “Connect a corporate network to AWS using encrypted tunnels,” remains outstanding.

Question 400

An implementation in the compute workload hardening effort must solve two separate problems, not merely strengthen one safeguard: Use Secrets Manager values inside application containers without embedding them in image layers; Assess known vulnerabilities in container images stored in a registry. Which change meets the full request?

  1. Narrow the Lambda execution role's identity policy; and enable Amazon ECR image scanning with an appropriate scanning mode
  2. Use IAM roles for service accounts for the pod's supported identity pattern; and narrow the Lambda execution role's identity policy
  3. Retrieve secrets at runtime using the workload's permitted IAM role; and enable Amazon ECR image scanning with an appropriate scanning mode
  4. Retrieve secrets at runtime using the workload's permitted IAM role; and use IAM roles for service accounts for the pod's supported identity pattern

Explanation

Correct Answer

C:

This pairing handles the first requirement (“Use Secrets Manager values inside application containers without embedding them in image layers”) because runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; it handles the second (“Assess known vulnerabilities in container images stored in a registry”) because ECR supports image vulnerability scanning, helping identify vulnerable components before a workload deploys an image; both acceptance criteria are therefore addressed.

Incorrect Answers

A:

This solves the second problem (“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; however, the first action addresses “Restrict a Lambda function's access to S3 operations”: Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it; it does not satisfy “Use Secrets Manager values inside application containers without embedding them in image layers.”.

B:

Both mechanisms have legitimate uses, but for other requirements: Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload supports “Prevent an EKS pod from inheriting broad worker-node permissions”; Lambda receives AWS service permissions through its execution role rather than arbitrary permissions of the caller invoking it supports “Restrict a Lambda function's access to S3 operations”; this does not resolve the stated “Use Secrets Manager values inside application containers without embedding them in image layers” and “Assess known vulnerabilities in container images stored in a registry” findings.

D:

One action is correctly chosen for “Use Secrets Manager values inside application containers without embedding them in image layers”: Runtime retrieval keeps credentials outside container images, with access governed by both secret policies and execution identity; the companion action relates to “Prevent an EKS pod from inheriting broad worker-node permissions”: Pod-scoped IAM role association helps avoid sharing the node's broad credentials with every workload; the other requested outcome, “Assess known vulnerabilities in container images stored in a registry,” remains outstanding.

AWS Certified Security - Specialty SCS-C03 Practice Tests