Question 620

An AWS team is correcting two gaps in the CloudWatch alerting deployment: Raise an alert after repeated failed root-user console attempts; and Alert on unusual spending that may indicate unauthorized resource provisioning. Which proposed set of controls fixes both gaps?

  1. Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm; and configure Security Hub aggregation and insights
  2. Create a CloudWatch Logs metric filter for relevant CloudTrail sign-in events and an alarm; and configure AWS Cost Anomaly Detection notifications
  3. Configure Security Hub aggregation and insights; and match CloudTrail management API events using an EventBridge rule
  4. Match CloudTrail management API events using an EventBridge rule; and configure AWS Cost Anomaly Detection notifications

Explanation

Correct Answer

B:

For “Raise an alert after repeated failed root-user console attempts,” the governing behavior is: Metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; for the separate check “Alert on unusual spending that may indicate unauthorized resource provisioning,” it is: Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

The first part is appropriate for “Raise an alert after repeated failed root-user console attempts” because metric filters extract counts from matching log records; alarms evaluate the resulting metric against a threshold; the second part addresses a different issue (“Create a consolidated high-severity security finding view across integrated detectors”) because Security Hub consolidates supported security findings and groups them by operational properties for investigation; it does not fulfill the “Alert on unusual spending that may indicate unauthorized resource provisioning” test.

C:

This combination targets different outcomes: Security Hub consolidates supported security findings and groups them by operational properties for investigation helps with “Create a consolidated high-severity security finding view across integrated detectors”; CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target helps with “Notify operators after an IAM policy is modified in a sensitive account”; neither implements the required “Raise an alert after repeated failed root-user console attempts” and “Alert on unusual spending that may indicate unauthorized resource provisioning” outcomes together.

D:

Only the second requirement is covered: Cost Anomaly Detection examines anomalous spending patterns; it does not inspect process activity or HTTP payloads supports “Alert on unusual spending that may indicate unauthorized resource provisioning”; by contrast, CloudTrail supplies the control-plane event details and EventBridge evaluates an event pattern to trigger notification or a remediation target concerns “Notify operators after an IAM policy is modified in a sensitive account,” leaving “Raise an alert after repeated failed root-user console attempts” unresolved.

Question 621

For a stored-data encryption architecture, engineers have been assigned this security outcome: Encrypt DynamoDB table data at rest using an approved customer-managed KMS key. What implementation best fits?

  1. Configure default bucket encryption with SSE-KMS and the chosen customer-managed key
  2. Enable EBS encryption by default with the approved KMS key
  3. Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
  4. Select the customer-managed AWS KMS key for DynamoDB server-side encryption
  5. Configure SQS server-side encryption with a suitable KMS key

Explanation

Correct Answer

D:

DynamoDB integrates encryption at rest with KMS; using a customer-managed key adds customer-controlled key policy and lifecycle considerations; for a stored-data encryption architecture, this is the measure that delivers the requirement to encrypt DynamoDB table data at rest using an approved customer-managed KMS key.

Incorrect Answers

A:

For the different objective “Use a customer-managed KMS key for S3 object encryption with key-level access controls,” SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; the scenario instead requires “Encrypt DynamoDB table data at rest using an approved customer-managed KMS key,” which is a separate security mechanism.

B:

EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; this would help with the requirement to encrypt new EC2 EBS volumes by default in an account and Region, leaving the requirement to encrypt DynamoDB table data at rest using an approved customer-managed KMS key unresolved in a stored-data encryption architecture.

C:

EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; its purpose is the requirement to migrate an unencrypted EBS volume to encrypted storage, but the acceptance criterion in a stored-data encryption architecture is the requirement to encrypt DynamoDB table data at rest using an approved customer-managed KMS key.

E:

Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; its purpose is the requirement to encrypt application messages stored in an SQS queue, but the acceptance criterion in a stored-data encryption architecture is the requirement to encrypt DynamoDB table data at rest using an approved customer-managed KMS key.

Question 622

Before closing the permissions and authorization review, a team must demonstrate the following: A workload should read secrets but never manage the IAM roles that authorize it; plus Prevent member account administrators from disabling baseline security controls. Which paired change would complete the work?

  1. Grant read-only IAM and relevant Access Analyzer inspection actions; and apply an appropriate Organizations SCP deny to member accounts
  2. Define a narrow support role with resource ARNs and bounded session duration; and grant read-only IAM and relevant Access Analyzer inspection actions
  3. Split data-access and IAM-management duties across separate roles; and apply an appropriate Organizations SCP deny to member accounts
  4. Split data-access and IAM-management duties across separate roles; and define a narrow support role with resource ARNs and bounded session duration

Explanation

Correct Answer

C:

The implementation has a specific control for each objective: Segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter for “A workload should read secrets but never manage the IAM roles that authorize it”; SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions for “Prevent member account administrators from disabling baseline security controls”; the combined option satisfies the two-part request.

Incorrect Answers

A:

While SCPs constrain member-account principals including their root identities, but do not grant permissions and have management-account exceptions is relevant to “Prevent member account administrators from disabling baseline security controls,” the other component targets “Allow a user to inspect effective permissions without modifying policies,” where visibility into policies and analysis results can be delegated separately from policy-editing actions to preserve separation of duties; the first acceptance criterion (“A workload should read secrets but never manage the IAM roles that authorize it”) is not met.

B:

The first proposed action addresses “Grant temporary support access to one project rather than an entire account”: Resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; the second addresses “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; the combination does not achieve the required “A workload should read secrets but never manage the IAM roles that authorize it” and “Prevent member account administrators from disabling baseline security controls” outcomes in this permissions and authorization review.

D:

The first check would be covered, since segregated roles limit privilege escalation paths by preventing the application identity from changing its own authorization perimeter; yet the second choice is associated with “Grant temporary support access to one project rather than an entire account,” for which resource-scoped role policies and temporary sessions limit both what support staff can touch and how long credentials persist; no corresponding control satisfies “Prevent member account administrators from disabling baseline security controls.”.

Question 623

A proposed solution for the compute workload hardening effort is incomplete unless it addresses both of these checks: Avoid storing long-term AWS access keys on an EC2 instance; and Detect package vulnerabilities on supported EC2 instances. Which choice provides the necessary controls?

  1. Attach an IAM instance profile with a least-privilege role; and enable Amazon Inspector EC2 scanning and review its findings
  2. Attach an IAM instance profile with a least-privilege role; and require IMDSv2 on the instance metadata options
  3. Build and test a hardened AMI with EC2 Image Builder; and enable Amazon Inspector EC2 scanning and review its findings
  4. Require IMDSv2 on the instance metadata options; and build and test a hardened AMI with EC2 Image Builder

Explanation

Correct Answer

A:

For the first acceptance test, “Avoid storing long-term AWS access keys on an EC2 instance,” instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys; for the second, “Detect package vulnerabilities on supported EC2 instances,” inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

B:

Instance profiles expose temporary role credentials to instance software, reducing the need for embedded static keys supports the “Avoid storing long-term AWS access keys on an EC2 instance” acceptance test; Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios is pertinent to “Block access to the EC2 Instance Metadata Service version 1” instead; the change therefore omits the separate requirement “Detect package vulnerabilities on supported EC2 instances.”.

C:

The mechanism for “Detect package vulnerabilities on supported EC2 instances” is present: Inspector inventories applicable packages and matches vulnerabilities where workload and scanning prerequisites are satisfied; the additional mechanism relates to “Deploy a repeatable hardened operating-system image to new instances”: Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently; nothing here completes “Avoid storing long-term AWS access keys on an EC2 instance.”.

D:

Neither action is targeted at the two acceptance tests: Enforcing metadata tokens removes IMDSv1's tokenless request path and helps mitigate specific credential-exposure scenarios is about “Block access to the EC2 Instance Metadata Service version 1,” and Image Builder automates image build pipelines and validation so baseline changes can be propagated consistently is about “Deploy a repeatable hardened operating-system image to new instances”; the intended “Avoid storing long-term AWS access keys on an EC2 instance” and “Detect package vulnerabilities on supported EC2 instances” requirements remain unsatisfied.

Question 624

For a security findings triage session, engineers have been assigned this security outcome: Find S3 objects containing regulated identifiers at scale. What implementation best fits?

  1. Use Amazon Detective to pivot through related entities
  2. Run Amazon Macie sensitive-data discovery on selected S3 buckets
  3. Enable GuardDuty S3 Protection for supported object activity
  4. Run IAM Access Analyzer external-access analysis
  5. Enable Amazon Inspector EC2 vulnerability scanning

Explanation

Correct Answer

B:

Macie discovers sensitive data in Amazon S3 and reports locations and categories that need protection or review; that AWS behavior meets the requirement to find S3 objects containing regulated identifiers at scale, the decisive objective for a security findings triage session.

Incorrect Answers

A:

Detective organizes security telemetry into related entities and investigation views, assisting root-cause analysis rather than supplying a prevention rule; the important distinction in a security findings triage session is that this supports the requirement to investigate relationships among a GuardDuty finding, IAM identities, and communicating IP addresses instead of the requirement to find S3 objects containing regulated identifiers at scale.

C:

GuardDuty S3 Protection analyzes relevant S3 object activity for potential threats, while ordinary CloudTrail management history does not cover all object operations; this would help with the requirement to detect anomalous API activity against S3 objects with managed threat monitoring, leaving the requirement to find S3 objects containing regulated identifiers at scale unresolved in a security findings triage session.

D:

Access Analyzer evaluates supported resource policies for access outside the configured zone of trust, highlighting unexpected sharing; this would help with the requirement to identify externally accessible resources implied by resource policies, leaving the requirement to find S3 objects containing regulated identifiers at scale unresolved in a security findings triage session.

E:

Inspector assesses supported workloads for package vulnerabilities and prioritizes exploitable exposures rather than analyzing account API anomalies; its scope is the requirement to find exposed internet-facing EC2 software vulnerabilities, rather than the requirement to find S3 objects containing regulated identifiers at scale for a security findings triage session.

Question 625

An AWS team is correcting two gaps in the compliance evidence and drift review: Detect when an S3 bucket deviates from an encryption baseline; and Run organization-level compliance checks on many accounts. Which proposed set of controls fixes both gaps?

  1. Enable an appropriate AWS Config managed rule and compliance evaluation; and configure AWS Config organization rules or conformance packs where supported
  2. Enable an appropriate AWS Config managed rule and compliance evaluation; and run Amazon Macie sensitive-data discovery jobs
  3. Enable Security Hub security standards and review control findings; and configure AWS Config organization rules or conformance packs where supported
  4. Run Amazon Macie sensitive-data discovery jobs; and enable Security Hub security standards and review control findings

Explanation

Correct Answer

A:

For “Detect when an S3 bucket deviates from an encryption baseline,” the governing behavior is: Config rules evaluate recorded resource configurations against expected controls and report compliance states; for the separate check “Run organization-level compliance checks on many accounts,” it is: Organization-wide configuration evaluations provide a shared control definition across participating accounts; this is why the two controls belong together in the proposed change.

Incorrect Answers

B:

The first part is appropriate for “Detect when an S3 bucket deviates from an encryption baseline” because config rules evaluate recorded resource configurations against expected controls and report compliance states; the second part addresses a different issue (“Identify sensitive personal data in S3 archives”) because macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls; it does not fulfill the “Run organization-level compliance checks on many accounts” test.

C:

Only the second requirement is covered: Organization-wide configuration evaluations provide a shared control definition across participating accounts supports “Run organization-level compliance checks on many accounts”; by contrast, Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action concerns “Measure consolidated security posture against security controls,” leaving “Detect when an S3 bucket deviates from an encryption baseline” unresolved.

D:

This combination targets different outcomes: Macie analyzes S3 content to surface sensitive-data locations for classification and follow-up controls helps with “Identify sensitive personal data in S3 archives”; Security Hub evaluates supported control checks and consolidates findings; remediation remains an independent action helps with “Measure consolidated security posture against security controls”; neither implements the required “Detect when an S3 bucket deviates from an encryption baseline” and “Run organization-level compliance checks on many accounts” outcomes together.

Question 626

The CloudWatch alerting deployment cannot pass unless both of these outcomes are demonstrated: Escalate only sustained error rates rather than transient one-minute spikes; Capture a sample of application requests for distributed performance and trace correlation. Which two-part plan is suitable?

  1. Publish a custom metric with consistent namespace and dimensions; and instrument the application for AWS X-Ray tracing
  2. Forward structured application events into CloudWatch Logs; and publish a custom metric with consistent namespace and dimensions
  3. Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and instrument the application for AWS X-Ray tracing
  4. Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and forward structured application events into CloudWatch Logs

Explanation

Correct Answer

C:

Two different security outcomes are required in this CloudWatch alerting deployment; Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required supports “Escalate only sustained error rates rather than transient one-minute spikes,” while X-Ray collects sampled traces of instrumented requests, unlike CloudTrail which audits AWS API activity supports “Capture a sample of application requests for distributed performance and trace correlation”; neither check is assumed to follow from the other.

Incorrect Answers

A:

The option has a useful control for “Capture a sample of application requests for distributed performance and trace correlation” because X-Ray collects sampled traces of instrumented requests, unlike CloudTrail which audits AWS API activity; its other control applies to “Report a custom application's failed-login count as a CloudWatch time series” because custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically; it misses the first requirement, “Escalate only sustained error rates rather than transient one-minute spikes.”.

B:

Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries is pertinent to “Provide application logs for real-time filtering and alarms,” and Custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically is pertinent to “Report a custom application's failed-login count as a CloudWatch time series”; the requested controls for “Escalate only sustained error rates rather than transient one-minute spikes” and “Capture a sample of application requests for distributed performance and trace correlation” are absent.

D:

This option is only partly effective: Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required supports “Escalate only sustained error rates rather than transient one-minute spikes”; but Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries supports “Provide application logs for real-time filtering and alarms,” not the required “Capture a sample of application requests for distributed performance and trace correlation” outcome.

Question 627

Two security control owners share a backup and data retention program. One is responsible for this outcome: Ensure retention settings cannot be weakened by routine vault administrators. The other needs: Detect a missing backup before the end of a recovery service-level agreement. Which implementation covers both?

  1. Configure supported AWS Backup cross-account copy actions; and monitor AWS Backup job status and coverage with suitable notifications
  2. Define an AWS Backup plan and assign protected resources; and configure supported AWS Backup cross-account copy actions
  3. Configure AWS Backup Vault Lock with appropriate minimum and maximum retention; and monitor AWS Backup job status and coverage with suitable notifications
  4. Configure AWS Backup Vault Lock with appropriate minimum and maximum retention; and define an AWS Backup plan and assign protected resources

Explanation

Correct Answer

C:

Two different security outcomes are required in this backup and data retention program; Vault Lock limits destructive retention changes and complements access permissions on the backup vault supports “Ensure retention settings cannot be weakened by routine vault administrators,” while Backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed supports “Detect a missing backup before the end of a recovery service-level agreement”; neither check is assumed to follow from the other.

Incorrect Answers

A:

The option has a useful control for “Detect a missing backup before the end of a recovery service-level agreement” because backup job events and reports reveal unsuccessful or missing protection activities before a restore is urgently needed; its other control applies to “Maintain a second copy of recovery points in another account” because cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites; it misses the first requirement, “Ensure retention settings cannot be weakened by routine vault administrators.”.

B:

Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation is pertinent to “Establish policy-based backups across several supported resource types,” and Cross-account copies place recovery points in a separate vault/account subject to organization and encryption prerequisites is pertinent to “Maintain a second copy of recovery points in another account”; the requested controls for “Ensure retention settings cannot be weakened by routine vault administrators” and “Detect a missing backup before the end of a recovery service-level agreement” are absent.

D:

This option is only partly effective: Vault Lock limits destructive retention changes and complements access permissions on the backup vault supports “Ensure retention settings cannot be weakened by routine vault administrators”; but Backup plans specify schedules, backup rules and lifecycle, enabling centrally managed recovery point creation supports “Establish policy-based backups across several supported resource types,” not the required “Detect a missing backup before the end of a recovery service-level agreement” outcome.

Question 628

An assessment of the compute workload hardening effort has two findings. Finding one: Ensure a workload can retrieve a secret only through its approved role. Finding two: Block host-level outbound traffic that is not needed for a Linux workload. Which combination remediates both?

  1. Use Systems Manager Session Manager with appropriate agent and role configuration; and use Inspector findings to prioritize Patch Manager remediation
  2. Use Inspector findings to prioritize Patch Manager remediation; and configure the operating system's host firewall in addition to VPC controls
  3. Combine a resource-scoped workload role with a restrictive secret access policy; and use Systems Manager Session Manager with appropriate agent and role configuration
  4. Combine a resource-scoped workload role with a restrictive secret access policy; and configure the operating system's host firewall in addition to VPC controls

Explanation

Correct Answer

D:

The implementation has a specific control for each objective: Secret access is constrained by IAM and applicable resource/KMS permissions, limiting which workload sessions may retrieve credentials for “Ensure a workload can retrieve a secret only through its approved role”; A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs for “Block host-level outbound traffic that is not needed for a Linux workload”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first proposed action addresses “Avoid interactive SSH exposure while administering private EC2 instances”: Session Manager provides controlled session access without requiring inbound SSH ports, subject to its endpoint and permission prerequisites; the second addresses “Identify a vulnerable package but avoid treating a scanner as a patch engine”: Inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions; the combination does not achieve the required “Ensure a workload can retrieve a secret only through its approved role” and “Block host-level outbound traffic that is not needed for a Linux workload” outcomes in this compute workload hardening effort.

B:

While A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs is relevant to “Block host-level outbound traffic that is not needed for a Linux workload,” the other component targets “Identify a vulnerable package but avoid treating a scanner as a patch engine,” where inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions; the first acceptance criterion (“Ensure a workload can retrieve a secret only through its approved role”) is not met.

C:

The first check would be covered, since secret access is constrained by IAM and applicable resource/KMS permissions, limiting which workload sessions may retrieve credentials; yet the second choice is associated with “Avoid interactive SSH exposure while administering private EC2 instances,” for which session Manager provides controlled session access without requiring inbound SSH ports, subject to its endpoint and permission prerequisites; no corresponding control satisfies “Block host-level outbound traffic that is not needed for a Linux workload.”.

Question 629

An architect is reviewing a least-privilege IAM authorization review. The acceptance criterion reads: A role session should have fewer privileges than its parent role policy. Which approach satisfies it?

  1. Pass a restrictive STS session policy when assuming the role
  2. Update the SCP guardrail or choose an allowed operation while retaining least privilege
  3. Remove or narrow the applicable explicit deny only after validating policy intent
  4. Add a narrowly scoped explicit allow where the policy model requires it

Explanation

Correct Answer

A:

Session policies further limit the temporary session's effective permissions instead of expanding the base role; it addresses the reported condition: a role session should have fewer privileges than its parent role policy at the right security boundary during a least-privilege IAM authorization review.

Incorrect Answers

B:

SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; its purpose is the reported condition: an IAM policy allows an action but an Organizations SCP excludes it, but the acceptance criterion in a least-privilege IAM authorization review is the reported condition: a role session should have fewer privileges than its parent role policy.

C:

IAM explicit deny takes precedence over allows from other applicable permission policies for the same request; this would help with the reported condition: an identity has an IAM allow but a matching explicit deny is also present, leaving the reported condition: a role session should have fewer privileges than its parent role policy unresolved in a least-privilege IAM authorization review.

D:

IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; this addresses the reported condition: an identity has no applicable allow for an AWS operation, not the reported condition: a role session should have fewer privileges than its parent role policy, which is needed in a least-privilege IAM authorization review.

Question 630

In a suspicious API activity review, a control owner must address the following requirement: Determine which caller changed an IAM trust policy. Which option should be selected?

  1. Enable CloudTrail Insights for the supported management-event analysis
  2. Inspect CloudTrail UpdateAssumeRolePolicy records and request context
  3. Configure Security Hub insights over normalized security findings
  4. Run a CloudWatch Logs Insights query selecting and filtering relevant fields

Explanation

Correct Answer

B:

CloudTrail management events expose who invoked role trust changes and which policy update was submitted; that AWS behavior meets the requirement to determine which caller changed an IAM trust policy, the decisive objective for a suspicious API activity review.

Incorrect Answers

A:

Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; its scope is the requirement to find unusual API call rates rather than just inspect routine event counts, rather than the requirement to determine which caller changed an IAM trust policy for a suspicious API activity review.

C:

Security Hub insights aggregate finding properties rather than querying raw VPC packet records; this would help with the requirement to summarize findings by account, severity, and workflow state, leaving the requirement to determine which caller changed an IAM trust policy unresolved in a suspicious API activity review.

D:

Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; the important distinction in a suspicious API activity review is that this supports the requirement to search raw CloudWatch log messages for failed authentication patterns across streams instead of the requirement to determine which caller changed an IAM trust policy.

AWS Certified Security - Specialty SCS-C03 Practice Tests