CLF-C02 Practice Test Questions

782 Questions


Topic 1: Exam Pool A

Which AWS service or tool provides recommendations to help users get rightsized Amazon EC2 instances based on historical workload usage data?


A. AWS Pricing Calculator


B. AWS Compute Optimizer


C. AWS App Runner


D. AWS Systems Manager





B.
  AWS Compute Optimizer

Explanation: AWS Compute Optimizer is the AWS service or tool that provides recommendations to help users get rightsized Amazon EC2 instances based on historical workload usage data. AWS Compute Optimizer analyzes the configuration and performance characteristics of the EC2 instances and delivers recommendations for optimal instance types, sizes, and configurations. AWS Compute Optimizer helps users improve performance, reduce costs, and eliminate underutilized resources.

A company is running applications on Amazon EC2 instances in the same AWS account for several different projects. The company wants to track the infrastructure costs for each of the projects separately. The company must conduct this tracking with the least possible impact to the existing infrastructure and with no additional cost. What should the company do to meet these requirements?


A. Use a different EC2 instance type for each project.


B. Publish project-specific custom Amazon CloudWatch metrics for each application.


C. Deploy EC2 instances for each project in a separate AWS account.


D. Use cost allocation tags with values that are specific to each project.





D.
  Use cost allocation tags with values that are specific to each project.

Explanation: The correct answer is D because cost allocation tags are a way to track the infrastructure costs for each of the projects separately. Cost allocation tags are key-value pairs that can be attached to AWS resources, such as EC2 instances, and used to categorize and group them for billing purposes. The other options are incorrect because they do not meet the requirements of the question. Use a different EC2 instance type for each project does not help to track the costs for each project, and may impact the performance and compatibility of the applications. Publish project-specific custom Amazon CloudWatch metrics for each application does not help to track the costs for each project, and may incur additional charges for using CloudWatch. Deploy EC2 instances for each project in a separate AWS account does help to track the costs for each project, but it impacts the existing infrastructure and incurs additional charges for using multiple accounts.

A company needs to store data across multiple Availability Zones in an AWS Region. The data will not be accessed regularly but must be immediately retrievable. Which Amazon Elastic File System (Amazon EFS) storage class meets these requirements MOST cost effectively?


A. EFS Standard


B. EFS Standard-Infrequent Access(EFS Standard-IA)


C. EFS One Zone


D. EFS One Zone-Infrequent Access (EFS One Zone-IA)





B.
  EFS Standard-Infrequent Access(EFS Standard-IA)

Explanation: EFS Standard-Infrequent Access (EFS Standard-IA) is the storage class that meets the requirements of storing data across multiple Availability Zones in an AWS Region, that will not be accessed regularly but must be immediately retrievable, most cost-effectively. EFS Standard-IA is designed for files that are accessed less frequently, but still require the same high performance, low latency, and high availability as EFS Standard. EFS Standard-IA has a lower storage cost than EFS Standard, but charges a small additional fee for each access. EFS One Zone and EFS One Zone-IA store data in a single Availability Zone, which reduces the availability and durability compared to EFS Standard and EFS Standard-IA.

Which design principle is achieved by following the reliability pillar of the AWS Well- Architected Framework?


A. Vertical scaling


B. Manual failure recovery


C. Testing recovery procedures


D. Changing infrastructure manually





C.
  Testing recovery procedures

Explanation: Testing recovery procedures is the design principle that is achieved by following the reliability pillar of the AWS Well-Architected Framework. The reliability pillar focuses on the ability of a system to recover from failures and prevent disruptions. Testing recovery procedures helps to ensure that the system can handle different failure scenarios and restore normal operations as quickly as possible. Testing recovery procedures also helps to identify and mitigate any risks or gaps in the system design and implementation.

Which AWS service is a highly available and scalable DNS web service?


A. Amazon VPC


B. Amazon CloudFront


C. Amazon Route 53


D. Amazon Connect





C.
  Amazon Route 53

Explanation: Amazon Route 53 is a highly available and scalable DNS web service. It is designed to give developers and businesses an extremely reliable and cost-effective way to route end users to Internet applications by translating domain names into the numeric IP addresses that computers use to connect to each other2. Amazon Route 53 also offers other features such as health checks, traffic management, domain name registration, and DNSSEC3.

Which AWS services or features can control VPC traffic? (Select TWO.)


A. Security groups


B. AWS Direct Connect


C. Amazon GuardDuty


D. Network ACLs


E. Amazon Connect





A.
  Security groups

D.
  Network ACLs

Explanation: The AWS services or features that can control VPC traffic are security groups and network ACLs. Security groups are stateful firewalls that control the inbound and outbound traffic at the instance level. You can assign one or more security groups to each instance in a VPC, and specify the rules that allow or deny traffic based on the protocol, port, and source or destination. Network ACLs are stateless firewalls that control the inbound and outbound traffic at the subnet level. You can associate one network ACL with each subnet in a VPC, and specify the rules that allow or deny traffic based on the protocol, port, and source or destination. AWS Direct Connect, Amazon GuardDuty, and Amazon Connect are not services or features that can control VPC traffic. AWS Direct Connect is a service that establishes a dedicated network connection between your premises and AWS. Amazon GuardDuty is a service that monitors your AWS account and workloads for malicious or unauthorized activity. Amazon Connect is a service that provides a cloud-based contact center solution.

A company is migrating an application that includes an Oracle database to AWS. The company cannot rewrite the application. To which AWS service could the company migrate the database?


A. Amazon Athena


B. Amazon DynamoDB


C. Amazon RDS


D. Amazon DocumentDB (with MongoDB compatibility)





C.
  Amazon RDS

Explanation: Amazon Relational Database Service (Amazon RDS) is a service that provides fully managed relational database engines. Amazon RDS supports several database engines, including Oracle, MySQL, PostgreSQL, MariaDB, SQL Server, and Amazon Aurora. Amazon RDS can be used to migrate an application that includes an Oracle database to AWS without rewriting the application, as long as the application is compatible with the Oracle version and edition supported by Amazon RDS. Amazon RDS can also provide benefits such as high availability, scalability, security, backup and restore, and performance optimization. [Amazon RDS Overview] AWS Certified Cloud Practitioner - aws.amazon.com

Which of the following acts as an instance-level firewall to control inbound and outbound access?


A. Network access control list


B. Security groups


C. AWS Trusted Advisor


D. Virtual private gateways





B.
  Security groups

Explanation: The correct answer is B because security groups are AWS features that act as instance-level firewalls to control inbound and outbound access. Security groups are virtual firewalls that can be attached to one or more Amazon EC2 instances. Users can configure rules for security groups to allow or deny traffic based on protocols, ports, and source or destination IP addresses. The other options are incorrect because they are not AWS features that act as instance-level firewalls to control inbound and outbound access. Network access control list is an AWS feature that acts as a subnet-level firewall to control inbound and outbound access. AWS Trusted Advisor is an AWS service that provides realtime guidance to help users follow AWS best practices for security, performance, cost optimization, and fault tolerance. Virtual private gateways are AWS features that enable users to create a secure and encrypted connection between their VPC and their onpremises network.

Which design principles support the reliability pillar of the AWS Well-Architected Framework? (Select TWO.)


A. Perform operations as code.


B. Enable traceability.


C. Automatically scale to meet demand.


D. Deploy resources globally to improve response time.


E. Automatically recover from failure.





C.
  Automatically scale to meet demand.

E.
  Automatically recover from failure.

Explanation: The design principles that support the reliability pillar of the AWS Well- Architected Framework are: automatically scale to meet demand, and automatically recover from failure. These principles help users design systems that can handle changes in load, avoid disruptions, and resume normal operations quickly. Automatically scaling to meet demand means adjusting the capacity of the system based on the current and anticipated workload, using services such as AWS Auto Scaling, Amazon EC2, and AWS Lambda. Automatically recovering from failure means detecting and resolving issues, using services such as Amazon CloudWatch, AWS CloudFormation, and AWS CloudTrail.

Which benefit is included with an AWS Enterprise Support plan?


A. AWS Partner Network (APN) support at no cost


B. Designated support from an AWS technical account manager (TAM)


C. On-site support from AWS engineers


D. AWS managed compliance as code with AWS Config





B.
  Designated support from an AWS technical account manager (TAM)

Explanation: AWS offers different support plans to meet the needs of different customers. The AWS Enterprise Support plan is the highest level of support that provides customers with concierge-like service, where the main focus is helping them achieve their outcomes and find success in the cloud. One of the benefits of the AWS Enterprise Support plan is that customers get designated support from an AWS technical account manager (TAM), who provides consultative architectural and operational guidance based on their applications and use cases. Therefore, the correct answer is B. You can learn more about AWS support plans and their benefits.

A company is building a serverless architecture that connects application data from multiple data sources. The company needs a solution that does not require additional code. Which AWS service meets these requirements?


A. AWS Lambda


B. Amazon Simple Queue Service (Amazon SQS)


C. Amazon CloudWatch


D. Amazon EventBridge





D.
   Amazon EventBridge

Explanation: Amazon EventBridge is the service that meets the requirements of building a serverless architecture that connects application data from multiple data sources without requiring additional code. Amazon EventBridge is a serverless event bus service that allows you to easily connect your applications with data from AWS services, SaaS applications, and your own applications. You can use Amazon EventBridge to create rules that match events and route them to targets such as AWS Lambda functions, Amazon SNS topics, Amazon SQS queues, or other AWS services. Amazon EventBridge handles the event ingestion, delivery, security, authorization, and error handling for you.

A company runs thousands of simultaneous simul-ations using AWS Batch. Each simulation is stateless, is fault tolerant, and runs for up to 3 hours. Which pricing model enables the company to optimize costs and meet these requirements?


A. Reserved Instances


B. Spot Instances


C. On-Demand Instances


D. Dedicated Instances





B.
  Spot Instances

Explanation: The correct answer is B because Spot Instances enable the company to optimize costs and meet the requirements. Spot Instances are spare EC2 instances that are available at up to 90% discount compared to On-Demand prices. Spot Instances are suitable for stateless, fault-tolerant, and flexible applications that can run for any duration. The other options are incorrect because they do not enable the company to optimize costs and meet the requirements. Reserved Instances are EC2 instances that are reserved for a specific period of time (one or three years) in exchange for a lower hourly rate. Reserved Instances are suitable for steady-state or predictable workloads that run for a long duration. On-Demand Instances are EC2 instances that are launched and billed at a fixed hourly rate. On-Demand Instances are suitable for short-term, irregular, or unpredictable workloads that cannot be interrupted. Dedicated Instances are EC2 instances that run on hardware that is dedicated to a single customer. Dedicated Instances are suitable for workloads that require regulatory compliance or data isolation.


Page 13 out of 66 Pages
Previous