Question 630

In a design comparison, AWS Trusted Advisor security checks is associated with the objective to review common security and configuration recommendations in AWS accounts. For the distinct objective to collect security logs in an analyzable data lake, which option should be preferred?

  1. AWS Trusted Advisor security checks
  2. AWS Security Hub centralized findings
  3. AWS Security Lake centralized security data
  4. Amazon Macie sensitive-data discovery

Explanation

Correct Answer

C:

AWS Security Lake centralized security data addresses the new need to collect security logs in an analyzable data lake because security Lake can centralize supported security event and log data for analysis; AWS Trusted Advisor security checks supports the different existing task to review common security and configuration recommendations in AWS accounts.

Incorrect Answers

A:

AWS Trusted Advisor security checks primarily supports the earlier need to review common security and configuration recommendations in AWS accounts because trusted Advisor offers checks and guidance across areas including security and cost, but the new task is to collect security logs in an analyzable data lake; that is why AWS Security Lake centralized security data is preferable here.

B:

AWS Security Hub centralized findings is intended to aggregate and prioritize security findings from AWS and partner services because security Hub centralizes security signals and posture findings across supported sources; in this design the new outcome is to collect security logs in an analyzable data lake, which calls for AWS Security Lake centralized security data rather than AWS Security Hub centralized findings or the earlier AWS Trusted Advisor security checks.

D:

Amazon Macie sensitive-data discovery is intended to locate sensitive information such as personal data in Amazon S3 because macie uses machine learning and pattern matching to discover sensitive data in S3; in this design the new outcome is to collect security logs in an analyzable data lake, which calls for AWS Security Lake centralized security data rather than Amazon Macie sensitive-data discovery or the earlier AWS Trusted Advisor security checks.

Question 631

A cloud team wants to understand why a principal cannot act without an applicable permission. It has considered IAM identity-based policy, whose main role is to define what actions an IAM principal may perform on specified resources. Which other selection is more tightly matched to the actual task?

  1. IAM identity-based policy
  2. IAM access keys
  3. Implicit deny default
  4. IAM role temporary credentials

Explanation

Correct Answer

C:

Implicit deny default addresses the new need to understand why a principal cannot act without an applicable permission because AWS authorization defaults to denying requests unless a valid policy grants the needed action; IAM identity-based policy supports the different existing task to define what actions an IAM principal may perform on specified resources.

Incorrect Answers

A:

IAM identity-based policy primarily supports the earlier need to define what actions an IAM principal may perform on specified resources because identity-based policies attach to users, groups or roles and express allowed or denied actions, but the new task is to understand why a principal cannot act without an applicable permission; that is why Implicit deny default is preferable here.

B:

IAM access keys is intended to authorize programmatic AWS API access for a permitted IAM principal because an access key ID and secret key can sign API requests but require careful protection and rotation; in this design the new outcome is to understand why a principal cannot act without an applicable permission, which calls for Implicit deny default rather than IAM access keys or the earlier IAM identity-based policy.

D:

IAM role temporary credentials is intended to provide temporary access to a trusted principal or AWS workload because assuming an IAM role yields temporary credentials subject to role trust and permissions policies; in this design the new outcome is to understand why a principal cannot act without an applicable permission, which calls for Implicit deny default rather than IAM role temporary credentials or the earlier IAM identity-based policy.

Question 632

For this AWS project, 2 outcomes are required: first, control encryption keys for supported AWS integrated services; second, use customer-controlled single-tenant hardware security modules for key workloads. Which TWO options provide the most direct matches? Choose TWO.

  1. Regional service eligibility
  2. Security posture evaluation
  3. AWS CloudTrail event history
  4. AWS KMS managed keys
  5. AWS CloudHSM dedicated HSMs

Explanation

Correct Answers

D:

AWS KMS managed keys covers the listed need to control encryption keys for supported AWS integrated services because kMS supports managed cryptographic key lifecycle and access controls for integrated workloads; it belongs in the keyed set alongside AWS CloudHSM dedicated HSMs to use customer-controlled single-tenant hardware security modules for key workloads.

E:

AWS CloudHSM dedicated HSMs covers the listed need to use customer-controlled single-tenant hardware security modules for key workloads because cloudHSM offers dedicated HSM capacity for supported cryptographic applications; it belongs in the keyed set alongside AWS KMS managed keys to control encryption keys for supported AWS integrated services.

Incorrect Answers

A:

Regional service eligibility addresses a different objective, to verify whether a required service and control are available in the chosen AWS Region, because services, compliance capabilities and data-processing locations can differ by Region; the checklist instead requires the distinct outcomes to control encryption keys for supported AWS integrated services; use customer-controlled single-tenant hardware security modules for key workloads.

B:

Security posture evaluation addresses a different objective, to identify departures from approved secure configuration baselines, because posture tools and configuration checks compare resource settings against security standards; the checklist instead requires the distinct outcomes to control encryption keys for supported AWS integrated services; use customer-controlled single-tenant hardware security modules for key workloads.

C:

AWS CloudTrail event history addresses a different objective, to review who invoked AWS management API actions in an account, because cloudTrail records AWS account API activity and supports investigation of management actions; the checklist instead requires the distinct outcomes to control encryption keys for supported AWS integrated services; use customer-controlled single-tenant hardware security modules for key workloads.

Question 633

In an architecture review, IAM role temporary credentials was selected to provide temporary access to a trusted principal or AWS workload. Which account of its behavior justifies this decision?

  1. Cognito identity pools exchange supported authentication for temporary AWS credentials.
  2. Assuming an IAM role yields temporary credentials subject to role trust and permissions policies.
  3. A cross-account role requires suitable trust and permission configuration.
  4. An access key ID and secret key can sign API requests but require careful protection and rotation.

Explanation

Correct Answer

B:

IAM role temporary credentials meets the goal to provide temporary access to a trusted principal or AWS workload because assuming an IAM role yields temporary credentials subject to role trust and permissions policies. Roles avoid embedding a person's permanent access key in application code.

Incorrect Answers

A:

That description belongs to Amazon Cognito identity pools because cognito identity pools exchange supported authentication for temporary AWS credentials; it is used to provide AWS credentials to application users using supported identities, not to explain how IAM role temporary credentials provides the function to provide temporary access to a trusted principal or AWS workload.

C:

That description belongs to Cross-account role assumption because a cross-account role requires suitable trust and permission configuration; it is used to allow a principal in one AWS account to gain defined temporary permissions in another, not to explain how IAM role temporary credentials provides the function to provide temporary access to a trusted principal or AWS workload.

D:

That description belongs to IAM access keys because an access key ID and secret key can sign API requests but require careful protection and rotation; it is used to authorize programmatic AWS API access for a permitted IAM principal, not to explain how IAM role temporary credentials provides the function to provide temporary access to a trusted principal or AWS workload.

Question 634

In the identity-management review, the team must address 2 distinct tasks: first, store and rotate supported application secrets without hard-coding them; second, provide temporary access to a trusted principal or AWS workload. Select the TWO most suitable services or concepts. Choose TWO.

  1. IAM role temporary credentials
  2. AWS Secrets Manager
  3. Customer managed IAM policies
  4. IAM access keys
  5. IAM user

Explanation

Correct Answers

A:

IAM role temporary credentials covers the listed need to provide temporary access to a trusted principal or AWS workload because assuming an IAM role yields temporary credentials subject to role trust and permissions policies; it belongs in the keyed set alongside AWS Secrets Manager to store and rotate supported application secrets without hard-coding them.

B:

AWS Secrets Manager covers the listed need to store and rotate supported application secrets without hard-coding them because secrets Manager stores protected secrets and supports rotation workflows; it belongs in the keyed set alongside IAM role temporary credentials to provide temporary access to a trusted principal or AWS workload.

Incorrect Answers

C:

Customer managed IAM policies addresses a different objective, to reuse an organization-authored permissions policy across appropriate identities, because customer managed policies allow centralized versioning and reuse of customized permissions; the checklist instead requires the distinct outcomes to store and rotate supported application secrets without hard-coding them; provide temporary access to a trusted principal or AWS workload.

D:

IAM access keys addresses a different objective, to authorize programmatic AWS API access for a permitted IAM principal, because an access key ID and secret key can sign API requests but require careful protection and rotation; the checklist instead requires the distinct outcomes to store and rotate supported application secrets without hard-coding them; provide temporary access to a trusted principal or AWS workload.

E:

IAM user addresses a different objective, to assign a directly managed AWS account identity when a specific long-lived IAM identity is appropriate, because IAM users are identities defined within an AWS account with configurable permissions; the checklist instead requires the distinct outcomes to store and rotate supported application secrets without hard-coding them; provide temporary access to a trusted principal or AWS workload.

Question 635

The solution currently handles its need to review AWS resource configuration changes and compliance state with AWS Config configuration history. A new requirement is to share supported AWS resources across accounts in a controlled way instead. Which service or principle addresses that different need?

  1. AWS KMS managed keys
  2. AWS Resource Access Manager sharing
  3. AWS Config configuration history
  4. AWS Certificate Manager TLS certificates

Explanation

Correct Answer

B:

AWS Resource Access Manager sharing addresses the new need to share supported AWS resources across accounts in a controlled way because AWS RAM enables supported resource sharing with eligible accounts or organizations; AWS Config configuration history supports the different existing task to review AWS resource configuration changes and compliance state.

Incorrect Answers

A:

AWS KMS managed keys is intended to control encryption keys for supported AWS integrated services because kMS supports managed cryptographic key lifecycle and access controls for integrated workloads; in this design the new outcome is to share supported AWS resources across accounts in a controlled way, which calls for AWS Resource Access Manager sharing rather than AWS KMS managed keys or the earlier AWS Config configuration history.

C:

AWS Config configuration history primarily supports the earlier need to review AWS resource configuration changes and compliance state because config records supported resource configurations and evaluates them against configuration rules, but the new task is to share supported AWS resources across accounts in a controlled way; that is why AWS Resource Access Manager sharing is preferable here.

D:

AWS Certificate Manager TLS certificates is intended to provision and manage certificates for supported TLS endpoints because aCM manages public or imported certificates for use with integrated services; in this design the new outcome is to share supported AWS resources across accounts in a controlled way, which calls for AWS Resource Access Manager sharing rather than AWS Certificate Manager TLS certificates or the earlier AWS Config configuration history.

Question 636

While reviewing a design, an architect identifies a gap: the workload needs to define which principals are allowed to assume a specific role. Which option closes that gap most directly?

  1. IAM Identity Center workforce access
  2. IAM Access Analyzer policy validation
  3. IAM role permissions policy
  4. IAM role trust policy

Explanation

Correct Answer

D:

IAM role trust policy matches the goal to define which principals are allowed to assume a specific role because a role trust policy controls the trusted entities for role assumption. A role's permissions policy alone does not let an arbitrary user assume it. IAM Access Analyzer policy validation is for the different objective to identify policy errors and security warnings before broad access is granted; the requested capability is IAM role trust policy to define which principals are allowed to assume a specific role, in contrast with IAM Access Analyzer policy validation to identify policy errors and security warnings before broad access is granted.

Incorrect Answers

A:

IAM Identity Center workforce access addresses the separate need to centralize human access to multiple AWS accounts and supported applications because IAM Identity Center supports workforce federation and permission-set based access; it is not as direct as IAM role trust policy for the actual requirement to define which principals are allowed to assume a specific role.

B:

IAM Access Analyzer policy validation addresses the separate need to identify policy errors and security warnings before broad access is granted because policy validation analyzes IAM policy documents for issues and best-practice findings; it is not as direct as IAM role trust policy for the actual requirement to define which principals are allowed to assume a specific role.

C:

IAM role permissions policy addresses the separate need to define which AWS operations a successfully assumed role can perform because permissions policies attached to a role determine allowed service actions within other policy limits; it is not as direct as IAM role trust policy for the actual requirement to define which principals are allowed to assume a specific role.

Question 637

A solution has 2 separate requirements: first, reduce risk when long-lived programmatic secrets must be retained; second, retain individual accountability for actions taken in AWS. Which TWO choices correspond most directly to these needs? Choose TWO.

  1. Explicit deny precedence
  2. Multi-factor authentication (MFA)
  3. Credential rotation
  4. IAM role permissions policy
  5. Avoid shared credentials

Explanation

Correct Answers

C:

Credential rotation covers the listed need to reduce risk when long-lived programmatic secrets must be retained because rotating access keys and other secrets limits the lifetime of exposed credentials; it belongs in the keyed set alongside Avoid shared credentials to retain individual accountability for actions taken in AWS.

E:

Avoid shared credentials covers the listed need to retain individual accountability for actions taken in AWS because separate identities and temporary role sessions support attribution and selective access removal; it belongs in the keyed set alongside Credential rotation to reduce risk when long-lived programmatic secrets must be retained.

Incorrect Answers

A:

Explicit deny precedence addresses a different objective, to ensure a denied API action cannot be overridden by another allow statement, because an applicable explicit deny in AWS authorization evaluation overrides applicable allows; the checklist instead requires the distinct outcomes to reduce risk when long-lived programmatic secrets must be retained; retain individual accountability for actions taken in AWS.

B:

Multi-factor authentication (MFA) addresses a different objective, to add a second authentication factor to protect interactive sign-in, because mFA requires an additional factor beyond a password or equivalent first credential; the checklist instead requires the distinct outcomes to reduce risk when long-lived programmatic secrets must be retained; retain individual accountability for actions taken in AWS.

D:

IAM role permissions policy addresses a different objective, to define which AWS operations a successfully assumed role can perform, because permissions policies attached to a role determine allowed service actions within other policy limits; the checklist instead requires the distinct outcomes to reduce risk when long-lived programmatic secrets must be retained; retain individual accountability for actions taken in AWS.

Question 638

In a design comparison, IAM Identity Center workforce access is associated with the objective to centralize human access to multiple AWS accounts and supported applications. For the distinct objective to integrate existing workforce identities with AWS account access, which option should be preferred?

  1. Amazon Cognito identity pools
  2. IAM Identity Center workforce access
  3. IAM Identity Center external directory
  4. IAM role temporary credentials

Explanation

Correct Answer

C:

IAM Identity Center external directory addresses the new need to integrate existing workforce identities with AWS account access because identity Center can work with supported external identity sources for centralized access; IAM Identity Center workforce access supports the different existing task to centralize human access to multiple AWS accounts and supported applications.

Incorrect Answers

A:

Amazon Cognito identity pools is intended to provide AWS credentials to application users using supported identities because cognito identity pools exchange supported authentication for temporary AWS credentials; in this design the new outcome is to integrate existing workforce identities with AWS account access, which calls for IAM Identity Center external directory rather than Amazon Cognito identity pools or the earlier IAM Identity Center workforce access.

B:

IAM Identity Center workforce access primarily supports the earlier need to centralize human access to multiple AWS accounts and supported applications because IAM Identity Center supports workforce federation and permission-set based access, but the new task is to integrate existing workforce identities with AWS account access; that is why IAM Identity Center external directory is preferable here.

D:

IAM role temporary credentials is intended to provide temporary access to a trusted principal or AWS workload because assuming an IAM role yields temporary credentials subject to role trust and permissions policies; in this design the new outcome is to integrate existing workforce identities with AWS account access, which calls for IAM Identity Center external directory rather than IAM role temporary credentials or the earlier IAM Identity Center workforce access.

Question 639

A cloud team wants to standardize workforce role assignments across multiple AWS accounts. It has considered IAM Identity Center external directory, whose main role is to integrate existing workforce identities with AWS account access. Which other selection is more tightly matched to the actual task?

  1. Permission sets for account assignments
  2. Customer managed IAM policies
  3. IAM Identity Center external directory
  4. Service-linked IAM role

Explanation

Correct Answer

A:

Permission sets for account assignments addresses the new need to standardize workforce role assignments across multiple AWS accounts because IAM Identity Center permission sets help define permissions provisioned for assigned users or groups; IAM Identity Center external directory supports the different existing task to integrate existing workforce identities with AWS account access.

Incorrect Answers

B:

Customer managed IAM policies is intended to reuse an organization-authored permissions policy across appropriate identities because customer managed policies allow centralized versioning and reuse of customized permissions; in this design the new outcome is to standardize workforce role assignments across multiple AWS accounts, which calls for Permission sets for account assignments rather than Customer managed IAM policies or the earlier IAM Identity Center external directory.

C:

IAM Identity Center external directory primarily supports the earlier need to integrate existing workforce identities with AWS account access because identity Center can work with supported external identity sources for centralized access, but the new task is to standardize workforce role assignments across multiple AWS accounts; that is why Permission sets for account assignments is preferable here.

D:

Service-linked IAM role is intended to delegate service-specific operations to an AWS service under a defined role because service-linked roles are tied to AWS services and have constrained predefined service purposes; in this design the new outcome is to standardize workforce role assignments across multiple AWS accounts, which calls for Permission sets for account assignments rather than Service-linked IAM role or the earlier IAM Identity Center external directory.

Question 640

A team already uses IAM Identity Center workforce access to centralize human access to multiple AWS accounts and supported applications. It now must standardize workforce role assignments across multiple AWS accounts, which is a separate requirement. What should it select for that new objective?

  1. IAM Identity Center external directory
  2. Permission sets for account assignments
  3. IAM Identity Center workforce access
  4. Service-linked IAM role

Explanation

Correct Answer

B:

Permission sets for account assignments addresses the new need to standardize workforce role assignments across multiple AWS accounts because IAM Identity Center permission sets help define permissions provisioned for assigned users or groups; IAM Identity Center workforce access supports the different existing task to centralize human access to multiple AWS accounts and supported applications.

Incorrect Answers

A:

IAM Identity Center external directory is intended to integrate existing workforce identities with AWS account access because identity Center can work with supported external identity sources for centralized access; in this design the new outcome is to standardize workforce role assignments across multiple AWS accounts, which calls for Permission sets for account assignments rather than IAM Identity Center external directory or the earlier IAM Identity Center workforce access.

C:

IAM Identity Center workforce access primarily supports the earlier need to centralize human access to multiple AWS accounts and supported applications because IAM Identity Center supports workforce federation and permission-set based access, but the new task is to standardize workforce role assignments across multiple AWS accounts; that is why Permission sets for account assignments is preferable here.

D:

Service-linked IAM role is intended to delegate service-specific operations to an AWS service under a defined role because service-linked roles are tied to AWS services and have constrained predefined service purposes; in this design the new outcome is to standardize workforce role assignments across multiple AWS accounts, which calls for Permission sets for account assignments rather than Service-linked IAM role or the earlier IAM Identity Center workforce access.

AWS Certified Cloud Practitioner CLF-C02 Practice Tests