Question 420

A software company has numerous VPCs and wants to avoid a mesh of individual peering connections. Which AWS networking service or component delivers the requested outcome?

  1. Security group
  2. NAT gateway
  3. AWS PrivateLink
  4. AWS Transit Gateway

Explanation

Correct Answer

D:

When a team has numerous VPCs and wants to avoid a mesh of individual peering connections, AWS Transit Gateway connects many VPCs and eligible on-premises networks through a central network hub. Transit Gateway provides centralized routing among attached networks.

Incorrect Answers

A:

Security group acts as a stateful virtual firewall for supported EC2 network interfaces; that would be relevant when a team wants instance-level network filtering that automatically permits established return traffic, whereas the team here has numerous VPCs and wants to avoid a mesh of individual peering connections. Transit Gateway provides centralized routing among attached networks; Security group addresses the alternative use case rather than that requested outcome.

B:

NAT gateway allows private-subnet IPv4 resources to initiate outbound connections without accepting unsolicited inbound internet connections; that would be relevant when a team has private EC2 instances that must download software updates from the internet, whereas the team here has numerous VPCs and wants to avoid a mesh of individual peering connections. Transit Gateway provides centralized routing among attached networks; NAT gateway addresses the alternative use case rather than that requested outcome.

C:

AWS PrivateLink offers private access to supported services through interface endpoints; that would be relevant when a team is exposing a private service to approved VPC consumers without VPC peering, whereas the team here has numerous VPCs and wants to avoid a mesh of individual peering connections. Transit Gateway provides centralized routing among attached networks; AWS PrivateLink addresses the alternative use case rather than that requested outcome.

Question 421

An education platform wants a second verification step on the AWS account root user's sign-in. Which identity or authorization mechanism best addresses this requirement?

  1. IAM Access Analyzer
  2. IAM user
  3. Multi-factor authentication (MFA)
  4. IAM group

Explanation

Correct Answer

C:

When a team wants a second verification step on the AWS account root user's sign-in, Multi-factor authentication (MFA) requires another verification factor beyond a single password or sign-in credential. MFA reduces risk from exposure of the primary account credential.

Incorrect Answers

A:

IAM Access Analyzer identifies resource access paths and helps validate IAM policy permissions; that would be relevant when a team needs policy validation feedback before deploying an updated IAM policy, whereas the team here wants a second verification step on the AWS account root user's sign-in. MFA reduces risk from exposure of the primary account credential; IAM Access Analyzer addresses the alternative use case rather than that requested outcome.

B:

IAM user represents an identity within an AWS account with long-term credentials when configured; that would be relevant when a team is assessing a long-lived account identity that can use access keys, whereas the team here wants a second verification step on the AWS account root user's sign-in. MFA reduces risk from exposure of the primary account credential; IAM user addresses the alternative use case rather than that requested outcome.

D:

IAM group organizes IAM users so common identity policies can be assigned together; that would be relevant when a team needs to add a new IAM user to an existing shared permission set, whereas the team here wants a second verification step on the AWS account root user's sign-in. MFA reduces risk from exposure of the primary account credential; IAM group addresses the alternative use case rather than that requested outcome.

Question 422

A public-sector group needs GPUs to train a compute-intensive graphics or machine learning model. Which AWS compute service or feature best accounts for this scenario?

  1. Accelerated computing EC2 instance
  2. EC2 Auto Scaling
  3. Amazon Lightsail
  4. Amazon EKS

Explanation

Correct Answer

A:

Accelerated computing EC2 instance provides hardware accelerators such as GPUs for supported workloads; that addresses the team that needs GPUs to train a compute-intensive graphics or machine learning model. Accelerated instance types provide specialized processing hardware.

Incorrect Answers

B:

EC2 Auto Scaling adjusts numbers of EC2 instances in an Auto Scaling group according to policy or demand; that would be relevant when a team needs EC2 instance counts to shrink when nightly traffic drops, whereas the team here needs GPUs to train a compute-intensive graphics or machine learning model. Accelerated instance types provide specialized processing hardware; EC2 Auto Scaling addresses the alternative use case rather than that requested outcome.

C:

Amazon Lightsail offers simple bundled cloud compute and networking for smaller workloads; that would be relevant when a team wants a straightforward virtual private server for a small website, whereas the team here needs GPUs to train a compute-intensive graphics or machine learning model. Accelerated instance types provide specialized processing hardware; Amazon Lightsail addresses the alternative use case rather than that requested outcome.

D:

Amazon EKS provides a managed Kubernetes control plane for containerized applications; that would be relevant when a team wants to migrate an existing Kubernetes workload while retaining its orchestration model, whereas the team here needs GPUs to train a compute-intensive graphics or machine learning model. Accelerated instance types provide specialized processing hardware; Amazon EKS addresses the alternative use case rather than that requested outcome.

Question 423

A cloud architect needs to restrict role assumption to a specified trusted AWS account. Which identity or authorization mechanism best addresses this requirement?

  1. IAM role trust policy
  2. Multi-factor authentication (MFA)
  3. IAM user
  4. IAM group
  5. IAM Access Analyzer

Explanation

Correct Answer

A:

IAM role trust policy defines which principals are authorized to assume an IAM role, matching a situation in which the team needs to restrict role assumption to a specified trusted AWS account. A role's trust policy controls the principal that may assume it.

Incorrect Answers

B:

Multi-factor authentication (MFA) requires another verification factor beyond a single password or sign-in credential; that would be relevant when a team wants a second verification step on the AWS account root user's sign-in, whereas the team here needs to restrict role assumption to a specified trusted AWS account. A role's trust policy controls the principal that may assume it; Multi-factor authentication (MFA) addresses the alternative use case rather than that requested outcome.

C:

IAM user represents an identity within an AWS account with long-term credentials when configured; that would be relevant when a team wants to distinguish an individual account principal from a collection of principals, whereas the team here needs to restrict role assumption to a specified trusted AWS account. A role's trust policy controls the principal that may assume it; IAM user addresses the alternative use case rather than that requested outcome.

D:

IAM group organizes IAM users so common identity policies can be assigned together; that would be relevant when a team is reducing repeated policy attachments across numerous account-local users, whereas the team here needs to restrict role assumption to a specified trusted AWS account. A role's trust policy controls the principal that may assume it; IAM group addresses the alternative use case rather than that requested outcome.

E:

IAM Access Analyzer identifies resource access paths and helps validate IAM policy permissions; that would be relevant when a team wants to identify resource policies that permit access from outside a defined trust boundary, whereas the team here needs to restrict role assumption to a specified trusted AWS account. A role's trust policy controls the principal that may assume it; IAM Access Analyzer addresses the alternative use case rather than that requested outcome.

Question 424

A product group is standardizing a multi-resource deployment so manual configuration is minimized. Which AWS operation or deployment method is the appropriate choice?

  1. AWS CloudFormation
  2. AWS Systems Manager
  3. AWS Elastic Beanstalk
  4. AWS SDKs

Explanation

Correct Answer

A:

When a team is standardizing a multi-resource deployment so manual configuration is minimized, AWS CloudFormation deploys and updates AWS infrastructure from declarative templates. Templates support reproducible infrastructure-as-code operations.

Incorrect Answers

B:

AWS Systems Manager provides tools for operational management and automation of supported AWS resources; that would be relevant when a team wants visibility into and control of operational settings across managed nodes, whereas the team here is standardizing a multi-resource deployment so manual configuration is minimized. Templates support reproducible infrastructure-as-code operations; AWS Systems Manager addresses the alternative use case rather than that requested outcome.

C:

AWS Elastic Beanstalk deploys web applications while managing specified environment infrastructure; that would be relevant when a team wants to upload application code without manually orchestrating its supporting web servers, whereas the team here is standardizing a multi-resource deployment so manual configuration is minimized. Templates support reproducible infrastructure-as-code operations; AWS Elastic Beanstalk addresses the alternative use case rather than that requested outcome.

D:

AWS SDKs provide language-specific libraries for programmatic AWS service access; that would be relevant when a team is writing a Python application that must create S3 objects using APIs, whereas the team here is standardizing a multi-resource deployment so manual configuration is minimized. Templates support reproducible infrastructure-as-code operations; AWS SDKs addresses the alternative use case rather than that requested outcome.

Question 425

A growing business must pay the same facility lease even when servers are idle. Which cloud economics concept most closely matches the described need?

  1. Cloud cost visibility
  2. Fixed cost
  3. Avoided capacity overprovisioning
  4. Capital expenditure

Explanation

Correct Answer

B:

Fixed cost stays relatively unchanged as short-term workload demand varies; that addresses the team that must pay the same facility lease even when servers are idle. Facility contracts can remain constant regardless of traffic.

Incorrect Answers

A:

Cloud cost visibility connects metered usage with spend records so teams can identify cost drivers; that would be relevant when a team wants to identify which resource types are responsible for monthly spending changes, whereas the team here must pay the same facility lease even when servers are idle. Facility contracts can remain constant regardless of traffic; Cloud cost visibility addresses the alternative use case rather than that requested outcome.

C:

Avoided capacity overprovisioning reduces the need to buy enough resources for rare maximum-demand periods; that would be relevant when a team is evaluating the cost of servers kept idle in case of infrequent traffic spikes, whereas the team here must pay the same facility lease even when servers are idle. Facility contracts can remain constant regardless of traffic; Avoided capacity overprovisioning addresses the alternative use case rather than that requested outcome.

D:

Capital expenditure represents investment in long-lived assets purchased in advance; that would be relevant when a team is budgeting a new data center build as a major asset investment, whereas the team here must pay the same facility lease even when servers are idle. Facility contracts can remain constant regardless of traffic; Capital expenditure addresses the alternative use case rather than that requested outcome.

Question 426

An operations team wants an alarm when EC2 CPU utilization crosses a threshold. Which AWS security service or control is being illustrated?

  1. Amazon CloudWatch
  2. VPC Flow Logs
  3. S3 Block Public Access
  4. Amazon Macie

Explanation

Correct Answer

A:

When a team wants an alarm when EC2 CPU utilization crosses a threshold, Amazon CloudWatch collects operational metrics, logs and alarms for cloud workloads. CloudWatch metrics and alarms evaluate observed service performance.

Incorrect Answers

B:

VPC Flow Logs captures metadata about IP traffic to or from supported VPC network interfaces; that would be relevant when a team wants evidence that traffic to a subnet was rejected by network controls, whereas the team here wants an alarm when EC2 CPU utilization crosses a threshold. CloudWatch metrics and alarms evaluate observed service performance; VPC Flow Logs addresses the alternative use case rather than that requested outcome.

C:

S3 Block Public Access provides settings that restrict unintended public access to S3 resources; that would be relevant when a team wants a broad safeguard against public permissions on sensitive S3 buckets, whereas the team here wants an alarm when EC2 CPU utilization crosses a threshold. CloudWatch metrics and alarms evaluate observed service performance; S3 Block Public Access addresses the alternative use case rather than that requested outcome.

D:

Amazon Macie discovers sensitive information and helps assess risk in Amazon S3 data; that would be relevant when a team wants visibility into S3 buckets containing potentially confidential records, whereas the team here wants an alarm when EC2 CPU utilization crosses a threshold. CloudWatch metrics and alarms evaluate observed service performance; Amazon Macie addresses the alternative use case rather than that requested outcome.

Question 427

A technology manager discovers a legacy reporting service with no active users during migration planning. Which migration strategy best addresses this requirement?

  1. Retain
  2. Retire
  3. Relocate
  4. Repurchase

Explanation

Correct Answer

B:

When a team discovers a legacy reporting service with no active users during migration planning, Retire decommissions an application that no longer serves a useful business purpose. Eliminating an unused workload avoids migration effort and ongoing cost.

Incorrect Answers

A:

Retain keeps a workload in its existing environment for the present; that would be relevant when a team needs to keep a sensitive system on premises while evaluating regulation and dependencies, whereas the team here discovers a legacy reporting service with no active users during migration planning. Eliminating an unused workload avoids migration effort and ongoing cost; Retain addresses the alternative use case rather than that requested outcome.

C:

Relocate moves workloads to a compatible target environment without buying new hardware or redesigning applications; that would be relevant when a team is comparing migration options that preserve its current virtualization stack, whereas the team here discovers a legacy reporting service with no active users during migration planning. Eliminating an unused workload avoids migration effort and ongoing cost; Relocate addresses the alternative use case rather than that requested outcome.

D:

Repurchase replaces an existing application with a different product such as software as a service; that would be relevant when a team chooses an off-the-shelf cloud service instead of moving its custom application, whereas the team here discovers a legacy reporting service with no active users during migration planning. Eliminating an unused workload avoids migration effort and ongoing cost; Repurchase addresses the alternative use case rather than that requested outcome.

Question 428

A healthcare provider is troubleshooting why a role cannot be assumed by an otherwise permitted caller. Which identity or authorization mechanism best accounts for this scenario?

  1. IAM group
  2. AWS Systems Manager Parameter Store
  3. IAM role
  4. IAM role trust policy

Explanation

Correct Answer

D:

Because the team is troubleshooting why a role cannot be assumed by an otherwise permitted caller, IAM role trust policy defines which principals are authorized to assume an IAM role. Trust authorization must allow the caller in addition to the caller's permissions.

Incorrect Answers

A:

IAM group organizes IAM users so common identity policies can be assigned together; that would be relevant when a team wants all members of a finance team to receive the same account permissions, whereas the team here is troubleshooting why a role cannot be assumed by an otherwise permitted caller. Trust authorization must allow the caller in addition to the caller's permissions; IAM group addresses the alternative use case rather than that requested outcome.

B:

AWS Systems Manager Parameter Store stores configuration parameters and sensitive values with supported encryption options; that would be relevant when a team wants applications to retrieve nonsecret configuration and selected encrypted values, whereas the team here is troubleshooting why a role cannot be assumed by an otherwise permitted caller. Trust authorization must allow the caller in addition to the caller's permissions; AWS Systems Manager Parameter Store addresses the alternative use case rather than that requested outcome.

C:

IAM role provides assumable permissions using temporary security credentials; that would be relevant when a team requires temporary access that a trusted principal can assume, whereas the team here is troubleshooting why a role cannot be assumed by an otherwise permitted caller. Trust authorization must allow the caller in addition to the caller's permissions; IAM role addresses the alternative use case rather than that requested outcome.

Question 429

A nonprofit wants one consolidated invoice for many development and production accounts. Which AWS financial-management capability best addresses this requirement?

  1. AWS Cost Explorer
  2. AWS Organizations consolidated billing
  3. AWS Cost Categories
  4. AWS Cost Anomaly Detection

Explanation

Correct Answer

B:

AWS Organizations consolidated billing combines eligible charges across multiple linked AWS accounts under a management payer, matching a situation in which the team wants one consolidated invoice for many development and production accounts. Organizations consolidates linked-account billing under management account arrangements.

Incorrect Answers

A:

AWS Cost Explorer analyzes historical AWS costs and usage with filters, trends and forecasts; that would be relevant when a team wants a visual breakdown of last month's compute costs by service, whereas the team here wants one consolidated invoice for many development and production accounts. Organizations consolidates linked-account billing under management account arrangements; AWS Cost Explorer addresses the alternative use case rather than that requested outcome.

C:

AWS Cost Categories classify charges into business-defined groupings using rules; that would be relevant when a team is assigning expenses to cost centers even when resource tags are incomplete, whereas the team here wants one consolidated invoice for many development and production accounts. Organizations consolidates linked-account billing under management account arrangements; AWS Cost Categories addresses the alternative use case rather than that requested outcome.

D:

AWS Cost Anomaly Detection identifies unusual spending patterns with automated cost monitors and alerts; that would be relevant when a team needs automated investigation signals for abrupt cost spikes, whereas the team here wants one consolidated invoice for many development and production accounts. Organizations consolidates linked-account billing under management account arrangements; AWS Cost Anomaly Detection addresses the alternative use case rather than that requested outcome.

Question 430

A media organization must rotate a database credential used by an application without embedding it in code. Which identity or authorization mechanism is being illustrated?

  1. AWS Secrets Manager
  2. Multi-factor authentication (MFA)
  3. IAM Access Analyzer
  4. IAM user

Explanation

Correct Answer

A:

When a team must rotate a database credential used by an application without embedding it in code, AWS Secrets Manager stores and can rotate supported application secrets such as database passwords. Secrets Manager securely stores secrets and supports rotation workflows.

Incorrect Answers

B:

Multi-factor authentication (MFA) requires another verification factor beyond a single password or sign-in credential; that would be relevant when a team is reducing account takeover risk from a stolen workforce password, whereas the team here must rotate a database credential used by an application without embedding it in code. Secrets Manager securely stores secrets and supports rotation workflows; Multi-factor authentication (MFA) addresses the alternative use case rather than that requested outcome.

C:

IAM Access Analyzer identifies resource access paths and helps validate IAM policy permissions; that would be relevant when a team wants to identify resource policies that permit access from outside a defined trust boundary, whereas the team here must rotate a database credential used by an application without embedding it in code. Secrets Manager securely stores secrets and supports rotation workflows; IAM Access Analyzer addresses the alternative use case rather than that requested outcome.

D:

IAM user represents an identity within an AWS account with long-term credentials when configured; that would be relevant when a team wants to distinguish an individual account principal from a collection of principals, whereas the team here must rotate a database credential used by an application without embedding it in code. Secrets Manager securely stores secrets and supports rotation workflows; IAM user addresses the alternative use case rather than that requested outcome.

AWS Certified Cloud Practitioner CLF-C02 Practice Tests