Question 340

An assessment of the multi-account infrastructure deployment has two findings. Finding one: Distribute standardized infrastructure stacks to many AWS accounts and Regions. Finding two: Require an explicit review before changing production infrastructure templates. Which combination remediates both?

  1. Deploy CloudFormation StackSets with appropriate execution permissions; and use CloudFormation change sets and an approval workflow
  2. Deploy CloudFormation StackSets with appropriate execution permissions; and run CloudFormation drift detection on supported stack resources
  3. Apply CloudFormation Hooks or supported predeployment policy checks; and use CloudFormation change sets and an approval workflow
  4. Run CloudFormation drift detection on supported stack resources; and apply CloudFormation Hooks or supported predeployment policy checks

Explanation

Correct Answer

A:

The implementation has a specific control for each objective: StackSets manage stack instances across accounts and Regions from a central deployment model for “Distribute standardized infrastructure stacks to many AWS accounts and Regions”; Change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution for “Require an explicit review before changing production infrastructure templates”; the combined option satisfies the two-part request.

Incorrect Answers

B:

The first check would be covered, since stackSets manage stack instances across accounts and Regions from a central deployment model; yet the second choice is associated with “Detect manual changes to a resource after CloudFormation deployment,” for which drift detection compares actual supported resource properties with declared template expectations; no corresponding control satisfies “Require an explicit review before changing production infrastructure templates.”.

C:

While change sets preview resource modifications, replacements and deletions so operators can assess consequences prior to execution is relevant to “Require an explicit review before changing production infrastructure templates,” the other component targets “Prevent deployment of a CloudFormation stack that violates defined policy requirements,” where preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation; the first acceptance criterion (“Distribute standardized infrastructure stacks to many AWS accounts and Regions”) is not met.

D:

The first proposed action addresses “Detect manual changes to a resource after CloudFormation deployment”: Drift detection compares actual supported resource properties with declared template expectations; the second addresses “Prevent deployment of a CloudFormation stack that violates defined policy requirements”: Preprovision checks can assess proposed resource configurations and fail noncompliant operations before creation; the combination does not achieve the required “Distribute standardized infrastructure stacks to many AWS accounts and Regions” and “Require an explicit review before changing production infrastructure templates” outcomes in this multi-account infrastructure deployment.

Question 341

During an identity-provider integration test, the security team has this work item: Trace which workforce user started an assumed-role API call. Which AWS action is the most direct implementation?

  1. Federate workforce access through IAM Identity Center
  2. Inspect CloudTrail userIdentity and role session context
  3. Apply a policy condition on aws:MultiFactorAuthPresent in the applicable context
  4. Set an appropriate role maximum session duration and request a bounded session
  5. Use STS AssumeRole with a cross-account role trust policy

Explanation

Correct Answer

B:

CloudTrail's assumed-role identity fields identify the session and support tracing back to the initiating role assumption; it addresses the requirement to trace which workforce user started an assumed-role API call at the right security boundary during an identity-provider integration test.

Incorrect Answers

A:

For the different objective “Give employees single sign-on to multiple AWS accounts using an existing corporate identity provider,” identity Center integrates a workforce identity source with permission sets that provision account access without creating separate long-term IAM users; the scenario instead requires “Trace which workforce user started an assumed-role API call,” which is a separate security mechanism.

C:

The MFA context key can restrict supported requests according to whether MFA was present in the authenticated session; its scope is the requirement to require IAM users to activate MFA before performing sensitive API operations, rather than the requirement to trace which workforce user started an assumed-role API call for an identity-provider integration test.

D:

Temporary credentials expire at the resulting session lifetime, reducing exposure relative to unrestricted long-term keys; its scope is the requirement to restrict the duration of an elevated administrative session, rather than the requirement to trace which workforce user started an assumed-role API call for an identity-provider integration test.

E:

AssumeRole issues expiring credentials for a trusted principal, and the assumed role's permissions determine permitted destination actions; its scope is the requirement to run a workload in a different account without storing destination-account access keys, rather than the requirement to trace which workforce user started an assumed-role API call for an identity-provider integration test.

Question 342

A proposed solution for the logging access troubleshooting session is incomplete unless it addresses both of these checks: A trail reports S3 delivery errors after a bucket-policy hardening change; and S3 GetObject calls are absent while management calls remain visible. Which choice provides the necessary controls?

  1. Restore the precise S3 bucket policy statements that permit CloudTrail delivery; and add the necessary S3 object data-event selectors to the trail
  2. Restore the precise S3 bucket policy statements that permit CloudTrail delivery; and review the key policy for the CloudTrail log-encryption service permissions
  3. Expand or create Flow Logs coverage for that network interface or containing subnet; and add the necessary S3 object data-event selectors to the trail
  4. Review the key policy for the CloudTrail log-encryption service permissions; and expand or create Flow Logs coverage for that network interface or containing subnet

Explanation

Correct Answer

A:

For the first acceptance test, “A trail reports S3 delivery errors after a bucket-policy hardening change,” A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly; for the second, “S3 GetObject calls are absent while management calls remain visible,” management-event collection does not imply coverage of object-level operations, even in the same account; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

B:

A restrictive destination policy can block PutObject even when the trail and event selectors remain configured correctly supports the “A trail reports S3 delivery errors after a bucket-policy hardening change” acceptance test; SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations is pertinent to “CloudTrail events stop arriving after the KMS key policy is tightened” instead; the change therefore omits the separate requirement “S3 GetObject calls are absent while management calls remain visible.”.

C:

The mechanism for “S3 GetObject calls are absent while management calls remain visible” is present: Management-event collection does not imply coverage of object-level operations, even in the same account; the additional mechanism relates to “Flow logs show no records for a new ENI outside the original logging scope”: Flow Logs capture only interfaces covered by the configured scope and supported traffic records; nothing here completes “A trail reports S3 delivery errors after a bucket-policy hardening change.”.

D:

Neither action is targeted at the two acceptance tests: SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations is about “CloudTrail events stop arriving after the KMS key policy is tightened,” and Flow Logs capture only interfaces covered by the configured scope and supported traffic records is about “Flow logs show no records for a new ENI outside the original logging scope”; the intended “A trail reports S3 delivery errors after a bucket-policy hardening change” and “S3 GetObject calls are absent while management calls remain visible” requirements remain unsatisfied.

Question 343

An architect is reviewing a TLS certificate and endpoint review. The acceptance criterion reads: Present a trusted certificate for an ALB HTTPS listener. Which approach satisfies it?

  1. Apply an appropriate ALB SSL security policy to the HTTPS listener
  2. Attach a suitable ACM certificate to the load balancer's TLS listener
  3. Set the distribution's origin protocol policy to HTTPS only
  4. Set an HTTPS-only or redirect-to-HTTPS CloudFront viewer protocol policy

Explanation

Correct Answer

B:

ALB terminates TLS using its configured certificate and forwards traffic according to the target group and listener settings; for a TLS certificate and endpoint review, this is the measure that delivers the requirement to present a trusted certificate for an ALB HTTPS listener.

Incorrect Answers

A:

The listener security policy controls supported TLS protocols and cipher choices for client TLS negotiation; its scope is the requirement to protect inbound application traffic while enforcing modern TLS versions, rather than the requirement to present a trusted certificate for an ALB HTTPS listener for a TLS certificate and endpoint review.

C:

Origin-side HTTPS protects the edge-to-origin hop; enforcing viewer HTTPS alone does not establish origin TLS; its scope is the requirement to encrypt traffic between CloudFront and a custom HTTPS origin, rather than the requirement to present a trusted certificate for an ALB HTTPS listener for a TLS certificate and endpoint review.

D:

The viewer policy governs client-to-edge encryption and is independent of how CloudFront contacts the origin; its purpose is the requirement to require HTTPS for all viewer connections through CloudFront, but the acceptance criterion in a TLS certificate and endpoint review is the requirement to present a trusted certificate for an ALB HTTPS listener.

Question 344

For a network traffic inspection architecture, engineers have been assigned this security outcome: Allow only an application tier's security group to connect to database port 5432. What implementation best fits?

  1. Remove the default internet gateway route from the private subnet's route table
  2. Create an S3 gateway VPC endpoint and update applicable route tables
  3. Use a stateful VPC security group
  4. Configure ordered subnet network ACL rules with an explicit deny
  5. Reference the application security group in the database security group's inbound rule

Explanation

Correct Answer

E:

Referencing an allowed source security group avoids a broad CIDR and adapts to changing instance IP addresses; this is the direct solution to the requirement to allow only an application tier's security group to connect to database port 5432 in a network traffic inspection architecture.

Incorrect Answers

A:

The subnet route table determines forwarding paths; a private subnet does not gain direct public routing without an appropriate route; the important distinction in a network traffic inspection architecture is that this supports the requirement to keep a private subnet from routing directly to the internet gateway instead of the requirement to allow only an application tier's security group to connect to database port 5432.

B:

A gateway endpoint supplies a private route for supported S3 traffic in the VPC, with endpoint policy restrictions available; its scope is the requirement to allow egress to S3 without crossing the public internet through NAT, rather than the requirement to allow only an application tier's security group to connect to database port 5432 for a network traffic inspection architecture.

C:

Security groups track connection state for allowed traffic, so separate explicit return-path rules generally are not needed; the important distinction in a network traffic inspection architecture is that this supports the requirement to permit response traffic automatically for an established EC2 connection instead of the requirement to allow only an application tier's security group to connect to database port 5432.

D:

Network ACLs support stateless allow and deny entries evaluated in rule-number order at the subnet boundary; its scope is the requirement to deny a specific unwanted subnet CIDR while allowing other traffic, rather than the requirement to allow only an application tier's security group to connect to database port 5432 for a network traffic inspection architecture.

Question 345

During a root-cause investigation, the security team has this work item: Examine a suspect EBS snapshot without exposing it to normal production workloads. Which AWS action is the most direct implementation?

  1. Copy artifacts to a separately administered account with S3 Object Lock
  2. Query CloudTrail management events for AuthorizeSecurityGroupIngress and related calls
  3. Combine EventBridge detection with Step Functions and narrowly scoped Lambda actions
  4. Restore the snapshot into a forensic VPC with restricted analyst access

Explanation

Correct Answer

D:

An isolated environment allows disk inspection while keeping suspicious binaries and network behavior away from the production data plane; for a root-cause investigation, this is the measure that delivers the requirement to examine a suspect EBS snapshot without exposing it to normal production workloads.

Incorrect Answers

A:

Independent permissions and immutable retention reduce the possibility that a compromised production identity can alter stored evidence; this would help with the requirement to protect collected incident evidence from modifications by production administrators, leaving the requirement to examine a suspect EBS snapshot without exposing it to normal production workloads unresolved in a root-cause investigation.

B:

Control-plane audit records identify the actor, request parameters, and timing of security-group changes; this addresses the requirement to identify the cause of a series of unexpected security-group modifications, not the requirement to examine a suspect EBS snapshot without exposing it to normal production workloads, which is needed in a root-cause investigation.

C:

The event bus triggers an orchestrated workflow, and each action can run with its own least-privilege execution role; this addresses the requirement to execute a repeatable account lock-down process across several response stages, not the requirement to examine a suspect EBS snapshot without exposing it to normal production workloads, which is needed in a root-cause investigation.

Question 346

Before closing the multi-account infrastructure deployment, a team must demonstrate the following: Offer only approved infrastructure products to application teams; plus Share a supported network resource with other member accounts without duplicating it. Which paired change would complete the work?

  1. Use AWS Resource Groups with matching resource tags; and use AWS Resource Access Manager with explicit shares
  2. Define and enforce a tagging strategy with AWS Organizations tag policies where applicable; and use AWS Resource Groups with matching resource tags
  3. Publish governed AWS Service Catalog products and portfolios; and use AWS Resource Access Manager with explicit shares
  4. Publish governed AWS Service Catalog products and portfolios; and define and enforce a tagging strategy with AWS Organizations tag policies where applicable

Explanation

Correct Answer

C:

The implementation has a specific control for each objective: Service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation for “Offer only approved infrastructure products to application teams”; RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls for “Share a supported network resource with other member accounts without duplicating it”; the combined option satisfies the two-part request.

Incorrect Answers

A:

While RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls is relevant to “Share a supported network resource with other member accounts without duplicating it,” the other component targets “Manage a fleet of AWS instances as an operational grouping without a new account,” where resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; the first acceptance criterion (“Offer only approved infrastructure products to application teams”) is not met.

B:

The first proposed action addresses “Group AWS resources using consistent key-value business metadata”: Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; the second addresses “Manage a fleet of AWS instances as an operational grouping without a new account”: Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries; the combination does not achieve the required “Offer only approved infrastructure products to application teams” and “Share a supported network resource with other member accounts without duplicating it” outcomes in this multi-account infrastructure deployment.

D:

The first check would be covered, since service Catalog constrains provisioned products through approved definitions and access assignments rather than unrestricted console creation; yet the second choice is associated with “Group AWS resources using consistent key-value business metadata,” for which tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; no corresponding control satisfies “Share a supported network resource with other member accounts without duplicating it.”.

Question 347

A proposed solution for the permissions and authorization review is incomplete unless it addresses both of these checks: A developer can create roles but cannot pass them to an EC2 service; and An assumed role is denied by a resource policy that names the wrong principal. Which choice provides the necessary controls?

  1. Test the applicable policies with IAM policy simulator and check CloudTrail evidence; and update the resource policy to reference the intended role or session principal
  2. Review IAM Access Analyzer external access findings for supported resource policies; and test the applicable policies with IAM policy simulator and check CloudTrail evidence
  3. Grant tightly scoped iam:PassRole to the approved service role; and update the resource policy to reference the intended role or session principal
  4. Grant tightly scoped iam:PassRole to the approved service role; and review IAM Access Analyzer external access findings for supported resource policies

Explanation

Correct Answer

C:

For the first acceptance test, “A developer can create roles but cannot pass them to an EC2 service,” passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone; for the second, “An assumed role is denied by a resource policy that names the wrong principal,” authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities; the proposed configuration implements both rather than using one control as a substitute for another.

Incorrect Answers

A:

The mechanism for “An assumed role is denied by a resource policy that names the wrong principal” is present: Authorization depends on the actual principal ARN and context used by the request; similar role names are not interchangeable identities; the additional mechanism relates to “An operator needs to determine why a specific AWS API call is denied”: Simulation clarifies modeled permissions, while CloudTrail supplies the actual actor and error context for the failed request; nothing here completes “A developer can create roles but cannot pass them to an EC2 service.”.

B:

Neither action is targeted at the two acceptance tests: Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents is about “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone,” and Simulation clarifies modeled permissions, while CloudTrail supplies the actual actor and error context for the failed request is about “An operator needs to determine why a specific AWS API call is denied”; the intended “A developer can create roles but cannot pass them to an EC2 service” and “An assumed role is denied by a resource policy that names the wrong principal” requirements remain unsatisfied.

D:

Passing a role to a service requires separate iam:PassRole authorization and is not implied by ec2:RunInstances alone supports the “A developer can create roles but cannot pass them to an EC2 service” acceptance test; Access Analyzer analyzes policy-based access outside the chosen trust boundary; it does not inspect live network packet contents is pertinent to “A developer needs to see whether an S3 bucket is exposed beyond an account trust zone” instead; the change therefore omits the separate requirement “An assumed role is denied by a resource policy that names the wrong principal.”.

Question 348

During a logging access troubleshooting session, reviewers document two independent acceptance criteria. First: An organization trail omits a recently joined account's events. Second: CloudWatch Logs Insights users receive an authorization error during queries. Which combined implementation satisfies both?

  1. Confirm the trail is an organization trail and organizational settings are active; and allow the needed logs query API actions on appropriate resources
  2. Confirm the trail is an organization trail and organizational settings are active; and fix the delivery role's S3 write and applicable KMS permissions
  3. Grant least-privilege S3 object read access and any required KMS decrypt rights; and allow the needed logs query API actions on appropriate resources
  4. Fix the delivery role's S3 write and applicable KMS permissions; and grant least-privilege S3 object read access and any required KMS decrypt rights

Explanation

Correct Answer

A:

The first control addresses the check “An organization trail omits a recently joined account's events”: A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; the other addresses “CloudWatch Logs Insights users receive an authorization error during queries”: Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; these two mechanisms cover the complete logging access troubleshooting session.

Incorrect Answers

B:

A standard account trail does not automatically provide comprehensive member-account management coverage across an organization; this is relevant to the first objective (“An organization trail omits a recently joined account's events”); however, the other action is meant for “A Kinesis Firehose delivery stream cannot write log objects to S3”: The Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; it leaves the required “CloudWatch Logs Insights users receive an authorization error during queries” behavior unimplemented.

C:

Reading log streams and running Logs Insights queries involve different API permissions; query execution is subject to IAM authorization; this fulfills the second objective (“CloudWatch Logs Insights users receive an authorization error during queries”); the other action is intended for “A destination bucket accepts logs but investigators cannot read them”: Successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; it does not meet the requested “An organization trail omits a recently joined account's events” check.

D:

The first action belongs to “A Kinesis Firehose delivery stream cannot write log objects to S3” because the Firehose role must be authorized for destination storage and encryption, separately from the upstream log producer; the second belongs to “A destination bucket accepts logs but investigators cannot read them” because successful logging and successful analysis are separate permissions; encryption can require an additional key grant to readers; these are not the required checks, “An organization trail omits a recently joined account's events” and “CloudWatch Logs Insights users receive an authorization error during queries.”.

Question 349

An architect is reviewing a KMS and S3 confidentiality audit. The acceptance criterion reads: Enforce a specific SSE-KMS key for new uploads. Which approach satisfies it?

  1. Deny noncompliant PutObject requests with S3 bucket-policy encryption conditions
  2. Enable account-level S3 Block Public Access
  3. Configure default bucket encryption with SSE-KMS and the chosen customer-managed key
  4. Apply client-side encryption with controlled client key management
  5. Use SSE-S3 for the objects

Explanation

Correct Answer

A:

Bucket policies can inspect encryption-related request headers and key IDs to reject uploads that violate mandated encryption settings; that AWS behavior meets the requirement to enforce a specific SSE-KMS key for new uploads, the decisive objective for a KMS and S3 confidentiality audit.

Incorrect Answers

B:

Account-level controls provide a broad safety boundary against public bucket and access point configuration mistakes; its scope is the requirement to prevent public reads of any S3 buckets in an AWS account, rather than the requirement to enforce a specific SSE-KMS key for new uploads for a KMS and S3 confidentiality audit.

C:

SSE-KMS integrates S3 object encryption with KMS authorization and key-use auditing beyond S3-managed key controls; the important distinction in a KMS and S3 confidentiality audit is that this supports the requirement to use a customer-managed KMS key for S3 object encryption with key-level access controls instead of the requirement to enforce a specific SSE-KMS key for new uploads.

D:

Client-side encryption transforms plaintext before the upload, so the AWS storage service does not receive the clear payload; this addresses the requirement to require clients to encrypt sensitive objects before uploading to AWS, not the requirement to enforce a specific SSE-KMS key for new uploads, which is needed in a KMS and S3 confidentiality audit.

E:

SSE-S3 encrypts stored objects with S3-managed keys and does not provide customer-managed KMS key-policy control; this would help with the requirement to encrypt S3 object payloads with keys managed entirely by the S3 service, leaving the requirement to enforce a specific SSE-KMS key for new uploads unresolved in a KMS and S3 confidentiality audit.

Question 350

For an edge-service protection design, engineers have been assigned this security outcome: Distribute incoming web traffic globally while reducing direct exposure of the origin. What implementation best fits?

  1. Put a CloudFront distribution in front of the supported origin
  2. Configure CloudFront origin access control and restrict the bucket policy
  3. Associate a regional AWS WAF web ACL with the load balancer
  4. Enroll eligible resources in AWS Shield Advanced

Explanation

Correct Answer

A:

CloudFront terminates viewer connections at edge locations and can integrate WAF protections before forwarding allowed requests; that AWS behavior meets the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, the decisive objective for an edge-service protection design.

Incorrect Answers

B:

Origin access control lets CloudFront sign origin requests so the S3 bucket can reject direct public reads; this addresses the requirement to prevent viewers from directly fetching private S3 objects behind CloudFront, not the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, which is needed in an edge-service protection design.

C:

WAF evaluates supported HTTP(S) requests at the ALB, which is not the same as changing instance network security-group rules; this addresses the requirement to protect an Application Load Balancer from application-layer attack signatures, not the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin, which is needed in an edge-service protection design.

D:

Shield Advanced adds enhanced protection capabilities and access to specialized response support subject to its subscription and service scope; its purpose is the requirement to provide enhanced DDoS protections and response-team assistance for critical internet services, but the acceptance criterion in an edge-service protection design is the requirement to distribute incoming web traffic globally while reducing direct exposure of the origin.

AWS Certified Security - Specialty SCS-C03 Practice Tests