Question 170

In a failed security alarm investigation, a control owner must address the following requirement: New GuardDuty detections do not appear in an expected account. Which option should be selected?

  1. Check event-pattern fields and permission for EventBridge to invoke the target
  2. Grant cloudwatch:PutMetricData to the publisher and verify the metric namespace
  3. Review missing-data treatment and whether the expected metric publishes regularly
  4. Use a valid CloudWatch Logs filter pattern for the actual JSON structure
  5. Verify GuardDuty is enabled in that account and the relevant Region and protection plan

Explanation

Correct Answer

E:

Regional service enablement and feature-specific coverage determine which supported threats can be detected; it addresses the reported condition: new GuardDuty detections do not appear in an expected account at the right security boundary during a failed security alarm investigation.

Incorrect Answers

A:

Both rule matching and target invocation authorization must succeed before automation starts; the important distinction in a failed security alarm investigation is that this supports the reported condition: EventBridge rules receive CloudTrail events but matching rules never invoke Lambda instead of the reported condition: new GuardDuty detections do not appear in an expected account.

B:

Logging permissions are different from custom metric publication rights; metrics can be absent despite healthy log ingestion; this would help with the reported condition: an application sends logs but fails to publish custom metrics, leaving the reported condition: new GuardDuty detections do not appear in an expected account unresolved in a failed security alarm investigation.

C:

Missing metrics are not necessarily healthy values; alarm evaluation needs an intentional policy for periods without samples; its purpose is the reported condition: CloudWatch alarms remain in INSUFFICIENT_DATA during quiet periods, but the acceptance criterion in a failed security alarm investigation is the reported condition: new GuardDuty detections do not appear in an expected account.

D:

Filter expressions must match the logged field names and data types rather than the structure assumed by the operator; the important distinction in a failed security alarm investigation is that this supports the reported condition: an alert filter never matches a numeric application status field instead of the reported condition: new GuardDuty detections do not appear in an expected account.

Question 171

Two security control owners share a storage encryption control review. One is responsible for this outcome: Encrypt an RDS database's storage at creation. The other needs: Encrypt application messages stored in an SQS queue. Which implementation covers both?

  1. Enable EBS encryption by default with the approved KMS key; and snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
  2. Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume; and configure SQS server-side encryption with a suitable KMS key
  3. Enable RDS storage encryption and select a suitable KMS key; and enable EBS encryption by default with the approved KMS key
  4. Enable RDS storage encryption and select a suitable KMS key; and configure SQS server-side encryption with a suitable KMS key

Explanation

Correct Answer

D:

Two different security outcomes are required in this storage encryption control review; RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration supports “Encrypt an RDS database's storage at creation,” while Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies supports “Encrypt application messages stored in an SQS queue”; neither check is assumed to follow from the other.

Incorrect Answers

A:

EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path is pertinent to “Encrypt new EC2 EBS volumes by default in an account and Region,” and EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data is pertinent to “Migrate an unencrypted EBS volume to encrypted storage”; the requested controls for “Encrypt an RDS database's storage at creation” and “Encrypt application messages stored in an SQS queue” are absent.

B:

The option has a useful control for “Encrypt application messages stored in an SQS queue” because queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; its other control applies to “Migrate an unencrypted EBS volume to encrypted storage” because EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; it misses the first requirement, “Encrypt an RDS database's storage at creation.”.

C:

This option is only partly effective: RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration supports “Encrypt an RDS database's storage at creation”; but EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path supports “Encrypt new EC2 EBS volumes by default in an account and Region,” not the required “Encrypt application messages stored in an SQS queue” outcome.

Question 172

An assessment of the credential and federation review has two findings. Finding one: A worker's federated portal login succeeds but no target account is listed. Finding two: A principal's temporary role credentials expire during a long-running process. Which combination remediates both?

  1. Check IAM Identity Center account assignments and permission sets; and verify the instance profile attachment and IMDS availability
  2. Check IAM Identity Center account assignments and permission sets; and adjust role session duration within allowed constraints and refresh credentials
  3. Verify the instance profile attachment and IMDS availability; and correct the identity provider client ID and role trust audience condition
  4. Correct the identity provider client ID and role trust audience condition; and adjust role session duration within allowed constraints and refresh credentials

Explanation

Correct Answer

B:

The implementation has a specific control for each objective: Authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set for “A worker's federated portal login succeeds but no target account is listed”; STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys for “A principal's temporary role credentials expire during a long-running process”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first check would be covered, since authentication to the portal alone grants no account entitlement until an assignment connects the principal and permission set; yet the second choice is associated with “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access,” for which role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; no corresponding control satisfies “A principal's temporary role credentials expire during a long-running process.”.

C:

The first proposed action addresses “An EC2 SDK cannot retrieve credentials even though an IAM policy grants access”: Role policies are ineffective for a workload that cannot obtain credentials through the instance profile credential channel; the second addresses “An OIDC role assumption is denied because the token audience does not match”: OIDC federation relies on token claims satisfying the trust policy, including the expected audience; the combination does not achieve the required “A worker's federated portal login succeeds but no target account is listed” and “A principal's temporary role credentials expire during a long-running process” outcomes in this credential and federation review.

D:

While STS sessions are time bounded and cannot be extended indefinitely by holding on to the original temporary access keys is relevant to “A principal's temporary role credentials expire during a long-running process,” the other component targets “An OIDC role assumption is denied because the token audience does not match,” where OIDC federation relies on token claims satisfying the trust policy, including the expected audience; the first acceptance criterion (“A worker's federated portal login succeeds but no target account is listed”) is not met.

Question 173

An architect is reviewing a managed-node security baseline audit. The acceptance criterion reads: Identify a vulnerable package but avoid treating a scanner as a patch engine. Which approach satisfies it?

  1. Use Inspector findings to prioritize Patch Manager remediation
  2. Build and test a hardened AMI with EC2 Image Builder
  3. Use Systems Manager Session Manager with appropriate agent and role configuration
  4. Configure the operating system's host firewall in addition to VPC controls
  5. Use Systems Manager State Manager associations and compliance reporting

Explanation

Correct Answer

A:

Inspector supplies vulnerability evidence; Systems Manager patch workflows perform the operating-system update actions; this is the direct solution to the requirement to identify a vulnerable package but avoid treating a scanner as a patch engine in a managed-node security baseline audit.

Incorrect Answers

B:

For the different objective “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; the scenario instead requires “Identify a vulnerable package but avoid treating a scanner as a patch engine,” which is a separate security mechanism.

C:

Session Manager provides controlled session access without requiring inbound SSH ports, subject to its endpoint and permission prerequisites; this would help with the requirement to avoid interactive SSH exposure while administering private EC2 instances, leaving the requirement to identify a vulnerable package but avoid treating a scanner as a patch engine unresolved in a managed-node security baseline audit.

D:

A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs; the important distinction in a managed-node security baseline audit is that this supports the requirement to block host-level outbound traffic that is not needed for a Linux workload instead of the requirement to identify a vulnerable package but avoid treating a scanner as a patch engine.

E:

State Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check; its scope is the requirement to detect drift from a golden AMI's approved operating-system configuration, rather than the requirement to identify a vulnerable package but avoid treating a scanner as a patch engine for a managed-node security baseline audit.

Question 174

In a security tool integration assessment, a control owner must address the following requirement: Detect anomalous AWS API usage and suspicious VPC or DNS patterns from managed threat intelligence. Which option should be selected?

  1. Enable Amazon Inspector EC2 vulnerability scanning
  2. Run Amazon Macie sensitive-data discovery on selected S3 buckets
  3. Use Amazon Detective to pivot through related entities
  4. Enable GuardDuty threat detection for the relevant AWS accounts and Regions

Explanation

Correct Answer

D:

GuardDuty analyzes supported account and workload signals to generate threat findings without requiring a custom event-correlation pipeline; this behavior fulfills the requirement to detect anomalous AWS API usage and suspicious VPC or DNS patterns from managed threat intelligence during a security tool integration assessment.

Incorrect Answers

A:

Inspector assesses supported workloads for package vulnerabilities and prioritizes exploitable exposures rather than analyzing account API anomalies; its purpose is the requirement to find exposed internet-facing EC2 software vulnerabilities, but the acceptance criterion in a security tool integration assessment is the requirement to detect anomalous AWS API usage and suspicious VPC or DNS patterns from managed threat intelligence.

B:

Macie discovers sensitive data in Amazon S3 and reports locations and categories that need protection or review; this would help with the requirement to find S3 objects containing regulated identifiers at scale, leaving the requirement to detect anomalous AWS API usage and suspicious VPC or DNS patterns from managed threat intelligence unresolved in a security tool integration assessment.

C:

Detective organizes security telemetry into related entities and investigation views, assisting root-cause analysis rather than supplying a prevention rule; its scope is the requirement to investigate relationships among a GuardDuty finding, IAM identities, and communicating IP addresses, rather than the requirement to detect anomalous AWS API usage and suspicious VPC or DNS patterns from managed threat intelligence for a security tool integration assessment.

Question 175

During an infrastructure-as-code rollout, the security team has this work item: Manage a fleet of AWS instances as an operational grouping without a new account. Which AWS action is the most direct implementation?

  1. Apply AWS Firewall Manager organization policies
  2. Use AWS Resource Groups with matching resource tags
  3. Define and enforce a tagging strategy with AWS Organizations tag policies where applicable
  4. Publish governed AWS Service Catalog products and portfolios

Explanation

Correct Answer

B:

Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; that AWS behavior meets the requirement to manage a fleet of AWS instances as an operational grouping without a new account, the decisive objective for an infrastructure-as-code rollout.

Incorrect Answers

A:

Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types; its purpose is the requirement to enforce standard firewall and WAF policies for many accounts centrally, but the acceptance criterion in an infrastructure-as-code rollout is the requirement to manage a fleet of AWS instances as an operational grouping without a new account.

C:

Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; its scope is the requirement to group AWS resources using consistent key-value business metadata, rather than the requirement to manage a fleet of AWS instances as an operational grouping without a new account for an infrastructure-as-code rollout.

D:

Service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation; this would help with the requirement to offer only approved infrastructure products to application teams, leaving the requirement to manage a fleet of AWS instances as an operational grouping without a new account unresolved in an infrastructure-as-code rollout.

Question 176

An AWS team is correcting two gaps in the security event analytics project: Audit how a customer-managed KMS key has been used by AWS callers; and Join S3 archived CloudTrail records with a reference table of suspect IPs. Which proposed set of controls fixes both gaps?

  1. Enable CloudTrail Insights for the supported management-event analysis; and query the log objects in Athena with an appropriate external table
  2. Run a CloudWatch Logs Insights query selecting and filtering relevant fields; and enable CloudTrail Insights for the supported management-event analysis
  3. Examine supported KMS API activity in CloudTrail management events; and query the log objects in Athena with an appropriate external table
  4. Examine supported KMS API activity in CloudTrail management events; and run a CloudWatch Logs Insights query selecting and filtering relevant fields

Explanation

Correct Answer

C:

For “Audit how a customer-managed KMS key has been used by AWS callers,” the governing behavior is: CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; for the separate check “Join S3 archived CloudTrail records with a reference table of suspect IPs,” it is: Athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly; this is why the two controls belong together in the proposed change.

Incorrect Answers

A:

Only the second requirement is covered: Athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly supports “Join S3 archived CloudTrail records with a reference table of suspect IPs”; by contrast, Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations concerns “Find unusual API call rates rather than just inspect routine event counts,” leaving “Audit how a customer-managed KMS key has been used by AWS callers” unresolved.

B:

This combination targets different outcomes: Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first helps with “Search raw CloudWatch log messages for failed authentication patterns across streams”; Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations helps with “Find unusual API call rates rather than just inspect routine event counts”; neither implements the required “Audit how a customer-managed KMS key has been used by AWS callers” and “Join S3 archived CloudTrail records with a reference table of suspect IPs” outcomes together.

D:

The first part is appropriate for “Audit how a customer-managed KMS key has been used by AWS callers” because CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; the second part addresses a different issue (“Search raw CloudWatch log messages for failed authentication patterns across streams”) because logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; it does not fulfill the “Join S3 archived CloudTrail records with a reference table of suspect IPs” test.

Question 177

For an in-transit encryption design, engineers have been assigned this security outcome: Avoid opening inbound SSH ports for remote EC2 administration. What implementation best fits?

  1. Use Systems Manager Session Manager with secure endpoints and authorized session roles
  2. Use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration
  3. Add a bucket policy deny conditioned on aws:SecureTransport being false
  4. Associate an ACM certificate with the supported API Gateway custom domain

Explanation

Correct Answer

A:

Session Manager provides an audited management channel without relying on a publicly reachable SSH service; for an in-transit encryption design, this is the measure that delivers the requirement to avoid opening inbound SSH ports for remote EC2 administration.

Incorrect Answers

B:

IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; its scope is the requirement to connect a corporate network to AWS using encrypted tunnels, rather than the requirement to avoid opening inbound SSH ports for remote EC2 administration for an in-transit encryption design.

C:

Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest; this addresses the requirement to require client connections to an S3 bucket to use TLS, not the requirement to avoid opening inbound SSH ports for remote EC2 administration, which is needed in an in-transit encryption design.

D:

The custom domain's TLS certificate enables verified HTTPS client connections; authorizers and resource policies remain separate access controls; this would help with the requirement to serve HTTPS API Gateway custom-domain traffic with managed certificates, leaving the requirement to avoid opening inbound SSH ports for remote EC2 administration unresolved in an in-transit encryption design.

Question 178

Before closing the VPC connectivity and segmentation rollout, a team must demonstrate the following: Use dedicated network connectivity without claiming it is encrypted by default; plus Access a supported AWS service privately through private VPC IP addresses. Which paired change would complete the work?

  1. Configure AWS Site-to-Site VPN with suitable customer gateway settings; and create an interface VPC endpoint using AWS PrivateLink
  2. Attach VPCs to a Transit Gateway with controlled route tables; and configure AWS Site-to-Site VPN with suitable customer gateway settings
  3. Provision Direct Connect and add VPN or other encryption when confidentiality is required; and create an interface VPC endpoint using AWS PrivateLink
  4. Provision Direct Connect and add VPN or other encryption when confidentiality is required; and attach VPCs to a Transit Gateway with controlled route tables

Explanation

Correct Answer

C:

The implementation has a specific control for each objective: Direct Connect provides private connectivity capacity but does not by itself encrypt all customer traffic in transit for “Use dedicated network connectivity without claiming it is encrypted by default”; An interface endpoint creates endpoint network interfaces and supports private connections to compatible services for “Access a supported AWS service privately through private VPC IP addresses”; the combined option satisfies the two-part request.

Incorrect Answers

A:

While an interface endpoint creates endpoint network interfaces and supports private connections to compatible services is relevant to “Access a supported AWS service privately through private VPC IP addresses,” the other component targets “Connect on-premises and AWS over an IPsec tunnel across the internet,” where site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; the first acceptance criterion (“Use dedicated network connectivity without claiming it is encrypted by default”) is not met.

B:

The first proposed action addresses “Connect many VPCs through centralized routing without individual full meshes”: Transit Gateway centralizes network transit and segmentation through attachments and route-table associations and propagations; the second addresses “Connect on-premises and AWS over an IPsec tunnel across the internet”: Site-to-Site VPN encrypts supported network traffic between gateways using IPsec tunnels over the selected transport; the combination does not achieve the required “Use dedicated network connectivity without claiming it is encrypted by default” and “Access a supported AWS service privately through private VPC IP addresses” outcomes in this VPC connectivity and segmentation rollout.

D:

The first check would be covered, since direct Connect provides private connectivity capacity but does not by itself encrypt all customer traffic in transit; yet the second choice is associated with “Connect many VPCs through centralized routing without individual full meshes,” for which transit Gateway centralizes network transit and segmentation through attachments and route-table associations and propagations; no corresponding control satisfies “Access a supported AWS service privately through private VPC IP addresses.”.

Question 179

An assessment of the credential and federation review has two findings. Finding one: Ensure a Lambda function has temporary AWS credentials scoped to its own operation. Finding two: Reduce repeated console logins to separate AWS member accounts. Which combination remediates both?

  1. Analyze CloudTrail ConsoleLogin records and sign-in context; and use an IAM role attached through an EC2 instance profile
  2. Use an IAM role attached through an EC2 instance profile; and provision IAM Identity Center permission sets for account assignments
  3. Configure a least-privilege Lambda execution role; and analyze CloudTrail ConsoleLogin records and sign-in context
  4. Configure a least-privilege Lambda execution role; and provision IAM Identity Center permission sets for account assignments

Explanation

Correct Answer

D:

The implementation has a specific control for each objective: Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys for “Ensure a Lambda function has temporary AWS credentials scoped to its own operation”; Permission sets supply consistent role-based entitlements to users and groups across accounts from the central access portal for “Reduce repeated console logins to separate AWS member accounts”; the combined option satisfies the two-part request.

Incorrect Answers

A:

The first proposed action addresses “Determine which IAM user password was used for an unexpected console session”: Console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; the second addresses “Avoid storing static access keys in an EC2 application”: IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key; the combination does not achieve the required “Ensure a Lambda function has temporary AWS credentials scoped to its own operation” and “Reduce repeated console logins to separate AWS member accounts” outcomes in this credential and federation review.

B:

While permission sets supply consistent role-based entitlements to users and groups across accounts from the central access portal is relevant to “Reduce repeated console logins to separate AWS member accounts,” the other component targets “Avoid storing static access keys in an EC2 application,” where IMDS v2 can deliver temporary role credentials under the instance profile rather than an administrator-managed permanent key; the first acceptance criterion (“Ensure a Lambda function has temporary AWS credentials scoped to its own operation”) is not met.

C:

The first check would be covered, since Lambda assumes its execution role to call AWS services; the function should not carry hardcoded access keys; yet the second choice is associated with “Determine which IAM user password was used for an unexpected console session,” for which console authentication events help attribute sign-ins, while downstream authorization decisions require reviewing the session's policies; no corresponding control satisfies “Reduce repeated console logins to separate AWS member accounts.”.

Question 180

During a security event analytics project, reviewers document two independent acceptance criteria. First: Determine which caller changed an IAM trust policy. Second: Audit how a customer-managed KMS key has been used by AWS callers. Which combined implementation satisfies both?

  1. Inspect CloudTrail UpdateAssumeRolePolicy records and request context; and run a CloudWatch Logs Insights query selecting and filtering relevant fields
  2. Inspect CloudTrail UpdateAssumeRolePolicy records and request context; and examine supported KMS API activity in CloudTrail management events
  3. Run a CloudWatch Logs Insights query selecting and filtering relevant fields; and query the log objects in Athena with an appropriate external table
  4. Query the log objects in Athena with an appropriate external table; and examine supported KMS API activity in CloudTrail management events

Explanation

Correct Answer

B:

The first control addresses the check “Determine which caller changed an IAM trust policy”: CloudTrail management events expose who invoked role trust changes and which policy update was submitted; the other addresses “Audit how a customer-managed KMS key has been used by AWS callers”: CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; these two mechanisms cover the complete security event analytics project.

Incorrect Answers

A:

CloudTrail management events expose who invoked role trust changes and which policy update was submitted; this is relevant to the first objective (“Determine which caller changed an IAM trust policy”); however, the other action is meant for “Search raw CloudWatch log messages for failed authentication patterns across streams”: Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; it leaves the required “Audit how a customer-managed KMS key has been used by AWS callers” behavior unimplemented.

C:

The first action belongs to “Search raw CloudWatch log messages for failed authentication patterns across streams” because logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first; the second belongs to “Join S3 archived CloudTrail records with a reference table of suspect IPs” because athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly; these are not the required checks, “Determine which caller changed an IAM trust policy” and “Audit how a customer-managed KMS key has been used by AWS callers.”.

D:

CloudTrail records supported KMS API calls and caller context, enabling key usage attribution without revealing plaintext cryptographic key bytes; this fulfills the second objective (“Audit how a customer-managed KMS key has been used by AWS callers”); the other action is intended for “Join S3 archived CloudTrail records with a reference table of suspect IPs”: Athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly; it does not meet the requested “Determine which caller changed an IAM trust policy” check.

AWS Certified Security - Specialty SCS-C03 Practice Tests