CLF-C02 Flashcards
A user deploys an Amazon RDS DB instance in multiple Availability Zones. This strategy involves which pillar of the AWS Well-Architected Framework?
A - Performance Efficiency
B - Reliability
C - Cost Optimization
D - Security
Reliability
The reliability pillar includes the ability of a workload to perform its intended function correctly and consistently when it is expected to do so. The deployment of Amazon RDS in multiple Availability Zones supports the goal of reliability because it reduces single points of failure.
A company has an on-premises Linux-based server with an Oracle database that runs on it. The company wants to migrate the database server to run on an Amazon EC2 instance in AWS. Which service should the company use to complete the migration?
A - AWS Database Migration Service (DMS)
B - AWS Migration Hub
C - AWS Application Migration Service (MGN)
D - AWS Application Discovery Service
AWS Application Migration Service (MGN)
AWS MGN is an automated lift-and-shift solution. This solution can migrate physical servers and any databases or applications that run on them to EC2 instances in AWS.
Which AWS service allows customers to purchase unused Amazon EC2 capacity at an often discounted rate?
A - Reserved Instances
B - On-Demand Instances
C - Dedicated Instances
D - Spot Instances
Spot Instances
With Spot Instances, you can access unused EC2 capacity. Spot Instances can be discounted.
A company requires a relational database on AWS that records new customer orders from a website. Which AWS service or feature will meet this requirement?
A - AWS Global Accelerator
B - Amazon DynamoDB
C - Amazon Aurora
D - Amazon Elastic Block Store (EBS)
Amazon Aurora
Aurora is a MySQL- and PostgreSQL-compatible relational database built for the cloud. Aurora combines the performance and availability of traditional enterprise databases with the simplicity and cost-effectiveness of open source databases.
Which of the functionalities are characteristics of Amazon S3? (Select TWO.)
A - A Global File System
B - An Object Store
C - A Local File Store
D - A Network File System
E - A Durable Storage System
An Object Store & A Durable Storage System
Amazon S3 is an object storage service & Amazon S3 is a durable object storage service.
How does AWS charge for AWS Lambda usage once the free tier has been exceeded? (Select TWO.)
A - By the time it takes for the Lambda function to run
B - By the number of versions of a specific Lambda function
C - By the number of requests made for a given Lambda function
D- By the programming language that is used for the Lambda function
E - By the total number of Lambda functions in an AWS account
By the time it takes for the Lambda function to run & By the number of requests made for a given Lambda function
Lambda charges are dependent on the amount of time it takes to run the code & Lambda charges are dependent on the number of requests for your Lambda functions.
A company wants to create a learning application for students. The learning application must give students the option to choose a button to have the text read out loud to them. Which AWS machine learning service will meet this requirement?
A - Amazon Transcribe
B - Amazon Polly
C - Amazon Translate
D - Amazon Textract
Amazon Polly
Amazon Polly is a machine learning service that converts text to speech. This service provides the ability to read text out loud.
A company wants to establish a consistent and private connection from the company’s on-premises data center to the AWS Cloud. Which AWS service will meet these requirements?
A - AWS Client VPN
B - Amazon Connect
C - AWS Direct Connect
D - AWS Site-to-Site VPN
AWS Direct Connect
Direct Connect links your internal network to a Direct Connect location through a standard Ethernet fiber-optic cable. One end of the cable connects to your router. The other end of the cable connects to a Direct Connect router. AWS Direct Connect is consistent and private because your company is the only user of the cable.
A company requires an encrypted connection between the company’s on-premises servers and AWS. The connection must use the company’s existing internet connection. Which solution will meet these requirements?
A - AWS Direct Connect
B - Amazon Connect
C - Amazon CloudFront
D - AWS Site-to-Site VPN
AWS Site-to-Site VPN
Site-to-Site VPN creates an encrypted network path between your on-premises network and your AWS Cloud network. This connection between your on-premises network and your AWS Cloud network uses the internet.
A company is hosting a static website from a single Amazon S3 bucket. Which AWS service will achieve lower latency and high transfer speeds?
A - AWS Elastic Beanstalk
B - Amazon BynamoDB Accelerator (DAX)
C - Amazon Route 53
D - Amazon CloudFront
Amazon CloudFront
CloudFront is a web service that speeds up the distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. Content is cached in edge locations. Content that is repeatedly accessed can be served from the edge locations instead of the source S3 bucket.
Which tasks are the customer’s responsibility according to the AWS shared responsibility model? (Select TWO.)
A - Patch the operating system that AWS Lambda functions use
B - Install patches on Amazon RDS DB instances
C - Control physical access to the data center that contains a customer’s VPC
D - Configure IAM users according to the principle of least privilege
E - Configure an Amazon S3 bucket to allow public access
**Configure IAM users according to the principle of least privilege & Configure an Amazon S3 bucket to allow public access **
AWS provides AWS Identity and Access Management (IAM) as a service. The customer defines IAM users and the access policies that apply to those users & The customer determines access permissions to S3 buckets that the customer owns.
A company is moving all of their development activities to AWS. The company wants a solution to store and manage their developers’ source code. Which AWS coding service will meet this requirement?
A - AWS CodeArtifact
B - AWS CodeBuild
C - AWS CodePipeline
D - AWS CodeCommit
AWS CodeCommit
CodeCommit is a source code version control service. CodeCommit helps users store and manage developers’ source code in AWS.
What is the MINIMUM AWS Support plan that provides technical support through phone calls?
A - Enterprise
B - Business
C - Developer
D - Basic
Business
You can call or chat with technical support by using the Business Support plan or the Enterprise Support plan. The Business Support plan is the minimum plan that provides this feature.
A company needs to monitor and receive alerts about AWS Management Console sign-in events that involve the AWS account root user. Which AWS service can the company use to meet these requirements?
A - Amazon CloudWatch
B - AWS Config
C - AWS Trusted Advisor
D - AWS Identity and Access Management (IAM)
Amazon CloudWatch
CloudWatch monitors your AWS resources and the applications that you run on AWS in real time. You can use CloudWatch with AWS CloudTrail to monitor and receive alerts about console sign-in events that involve the AWS account root user.
Which AWS service identifies security groups that allow unrestricted access to a user’s AWS resources?
A - AWS Trusted Advisor
B - AWS Config
C - Amazon CloudWatch
D - AWS CloudTrail
AWS Trusted Advisor
Trusted Advisor checks security groups for rules that allow unrestricted access to a resource. Unrestricted access increases opportunities for malicious activity, such as hacking, denial-of-service attacks, or loss of data.
What are the advantages of deploying an application with Amazon EC2 instances in multiple Availability Zones? (Select TWO.)
A - Preventing a single point of failure
B - Reducing the operational costs of the application
C - Allowing the application to serve cross-region users with low latency
D - Increasing the avilability of the application
E - Increasing the load of the application
Preventing a single point of failure & Increasing the availability of the application
The deployment of the EC2 instances in multiple Availability Zones prevents a single point of failure. Availability Zones are designed for physical redundancy and to provide resilience with uninterrupted performance & If you host all your instances in a single location that is affected by a failure, none of your instances would be available. Availability Zones are designed for physical redundancy and to provide resilience with uninterrupted performance.
Each department within a company has its own independent AWS account and its own payment method. The company needs to centralize departmental governance and consolidate payments. How can the company achieve these objectives by using AWS services or features?
A - Use AWS Cloud Map on each departmental account.
B - Create an organization in AWS Organizations with all features enabled within one account. Invite all accounts to join the organization.
C - Use AWS Systems Manager OpsCenter.
D - Use the AWS Cost and Usage Reports page of the AWS Billing and Cost Management console.
Create an organization in AWS Organizations with all features enabled within one account. Invite all accounts to join the organization.
Organizations provides centralized governance and billing for an AWS environment, including multiple accounts.
What are benefits of using the AWS Cloud for companies with customers in many countries around the world? (Select TWO.)
A - Companies can deploy applications in multiple AWS Regions to reduce latency.
B - Amazon Translate automatically translates third-party website interfaces into multiple languages.
C - Amazon CloudFront has multiple edge locations around the world to reduce latency.
D - Amazon Comprehend allows users to build applications that can respond to user requests in many languages
E - Elastic Load Balancing can distribute application web traffic to multiple AWS Regions around the world, which reduces latency
Companies can deploy applications in multiple AWS Regions to reduce latency & Amazon CloudFront has multiple edge locations around the world to reduce latency.
The use of Regions around the world will improve an application’s global performance and reduce latency for users. CloudFront is a content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to global customers with low latency and high transfer speeds.
Which credential components are required to gain programmatic access to an AWS account? (Select TWO.)
A - An access key ID
B - A primary key
C - A secret access key
D - A user ID
E - A secondary key
An access key ID & A secret access key
Programmatic access requires an access key ID and a secret access key that can be assigned to an AWS user.
A user needs to automatically discover, classify, and protect sensitive data stored in Amazon S3. Which AWS service can meet these requirements?
A - Amazon Inspector
B - Amazon Macie
C - Amazon GuardDuty
D - AWS Secrets Manager
Amazon Macie
Macie is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS.
What is cloud computing?
A - Backing up files that are stored on desktop and mobile devices to prevent data loss
B - Deploying applications connected to on-premises infrastructure
C - Running code without needing to manage or provision servers
D - On-demand delivery of IT resources and applications through the internet with pay-as-you-go pricing
On-demand delivery of IT resources and applications through the internet with pay-as-you-go pricing
What is another name for on-premises deployment?
A - Private cloud deployment
B - Cloud-based application
C - Hybrid deployment
D - AWS Cloud
Private cloud deployment
How does the scale of cloud computing help you to save costs?
A - You do not have to invest in technology resources before using them.
B - The aggregated cloud usage from a large number of customers results in lower pay-as-you-go prices.
C - Accessing services on-demand helps to prevent excess or limited capacity.
D - You can quickly deploy applications to customers and provide them with low latency.
The aggregated cloud usage from a large number of customers results in lower pay-as-you-go prices.
Which Amazon EC2 instance type is suitable for data warehousing applications?
A - Memory optimized
B - Storage optimized
C - General purpose
D - Compute optimized
Storage optimized
Which Amazon EC2 instance type balances compute, memory, and networking resources?
A - Memory optimized
B - Storage optimized
C - General purpose
D - Compute optimized
General purpose
Which Amazon EC2 instance type is ideal for high-performance databases?
A - Memory optimized
B - Storage optimized
C - General purpose
D - Compute optimized
Memory optimized
Which Amazon EC2 instance type offers high-performance processors?
A - Memory optimized
B - Storage optimized
C - General purpose
D - Compute optimized
Compute optimized
Which Amazon EC2 pricing option provides a discount when you specify a number of EC2 instances to run a specific OS, instance family and size, and tenancy in one Region?
A - Convertible Reserved Instances
B - EC2 Instance Savings Plans
C - Spot Instances
D - Standard Reserved Instances
**Standard Reserved Instances ** require you to specify:
- instance family and size
- platform description
- tenancy
- Region
Your specified amount of EC2 instances are covered over a 1-year or 3-year term.
Which Amazon EC2 pricing option provides a discount when you make an hourly spend commitment to an instance family and Region for a 1-year or 3-year term?
A - On-Demand
B - EC2 Instance Savings Plans
C - Spot Instances
D - Reserved Instances
EC2 Instance Savings Plans
EC2 Instance Savings Plans reduce your EC2 instance costs when you make an hourly spend commitment to an instance family and Region for a 1-year or 3-year term.
Which AWS service is the best choice for publishing messages to subscribers?
A - Amazon Simple Queue Service (Amazon SQS)
B - Amazon EC2 Auto Scaling
C - Amazon Simple Notification Service (Amazon SNS)
D - Elastic Load Balancing (ELB)
Amazon Simple Notification Service (Amazon SNS).
Amazon SNS is a publish/subscribe service. Using Amazon SNS topics, a publisher publishes messages to subscribers.
You want to use an Amazon EC2 instance for a batch processing workload. What would be the best Amazon EC2 instance type to use?
A - General purpose
B - Memory optimized
C - Compute optimized
D - Storage optimized
Compute optimized
What are the contract length options for Amazon EC2 Reserved Instances? (Select TWO.)
A - 1 year
B - 2 year
C - 3 year
D - 4 year
E - 5 year
1 year & 3 years
Reserved Instances require a commitment of either 1 year or 3 years. The 3-year option offers a larger discount.
You have a workload that will run for a total of 6 months and can withstand interruptions. What would be the most cost-efficient Amazon EC2 purchasing option?
A - Reserved Instance
B - Spot Instances
C - Dedicated Instances
D - On-Demand Instances
Spot Instance
Which process is an example of Elastic Load Balancing?
A - Ensuring that no single Amazon EC2 instance has to carry the full workload on its own
B - Removing unneeded Amazon EC2 instances when demand is low
C - Adding a second Amazon EC2 instance during an online store’s popular sale
D - Automatically adjusting the number of Amazon EC2 instances to meet demand
Ensuring that no single Amazon EC2 instance has to carry the full workload on its own.
Elastic Load Balancing is the AWS service that automatically distributes incoming application traffic across multiple resources, such as Amazon EC2 instances. This helps to ensure that no single resource becomes overutilized.
You want to deploy and manage containerized applications. Which service should you use?
A - AWS Lambda
B - Amazon Simple Notification Service (Amazon SNS)
C - Amazon Simple Queue Service (Amazon SQS)
D - Amazon Elastic Kubernetes Service (Amazon EKS)
Amazon Elastic Kubernetes Service (Amazon EKS).
Amazon EKS is a fully managed Kubernetes service. Kubernetes is open-source software that enables you to deploy and manage containerized applications at scale.
Which statement best describes an Availability Zone?
A - A geographical area that contains AWS resources
B - A single data center or group of data centers within a Region
C - A data center that an AWS service uses to perform service-specific operations
D - A service that you can use to run AWS infrastructure within your own on-premises data center in a hybrid approach
A single data center or group of data centers within a Region.
Which statement is TRUE for the AWS global infrastructure?
A - A Region consists of a single Availability Zone.
B - An Availability Zone consists of two or more Regions.
C - A Region consists of three or more Availability Zones.
D - An Availability Zone consists of a single Region.
A Region consists of three or more Availability Zones.
For example, the South America (São Paulo) Region is sa-east-1. It includes three Availability Zones: sa-east-1a, sa-east-1b, and sa-east-1c.
Which factors should be considered when selecting a Region? (Select TWO.)
A - Compliance with data governance and legal requirements
B - Proximity to your customers
C - Access to 24/7 technical support
D - Ability to assign custom permissions to different users
E - Access to the AWS Command Line Interface (AWS CLI)
Compliance with data governance and legal requirements & Proximity to your customers
Two other factors to consider when selecting a Region are pricing and the services that are available in a Region.
Which statement best describes Amazon CloudFront?
A - A service that enables you to run infrastructure in a hybrid cloud approach
B - A serverless compute engine for containers
C - A service that enables you to send and receive messages between software components through a queue
D - A global content delivery service
A global content delivery service.
Amazon CloudFront is a content delivery service. It uses a network of edge locations to cache content and deliver content to customers all over the world. When content is cached, it is stored locally as a copy. This content might be video files, photos, webpages, and so on.
Which site does Amazon CloudFront use to cache copies of content for faster delivery to users at any location?
A - Region
B - Availability Zone
C - Edge Location
D - Origin
Edge location.
Which action can you perform with AWS Outposts?
A - Automate actions for AWS services and applications through scripts.
B - Access wizards and automated workflows to perform tasks in AWS services.
C - Develop AWS applications in supported programming languages.
D - Extend AWS infrastructure and services to different locations including your on-premises data center.
Extend AWS infrastructure and services to different locations, including your on-premises data center.
Which statement best describes an AWS account’s default network access control list?
A - It is stateless and denies all inbound and outbound traffic.
B - It is stateful and allows all inbound and outbound traffic.
C - It is stateless and allows all inbound and outbound traffic.
D - It is stateful and denies all inbound and outbound traffic.
It is stateless and allows all inbound and outbound traffic.
Network access control lists (ACLs) perform stateless packet filtering. They remember nothing and check packets that cross the subnet border each way: inbound and outbound.
Each AWS account includes a default network ACL. When configuring your VPC, you can use your account’s default network ACL or create custom network ACLs.
By default, your account’s default network ACL allows all inbound and outbound traffic, but you can modify it by adding your own rules. For custom network ACLs, all inbound and outbound traffic is denied until you add rules to specify which traffic should be allowed. Additionally, all network ACLs have an explicit deny rule. This rule ensures that if a packet doesn’t match any of the other rules on the list, the packet is denied.
Which statement best describes DNS resolution?
A - Launching resources in a virtual network that you define
B - Storing local copies of content at edge locations around the world
C - Connecting a VPC to the internet
D - Translating a domain name to an IP address
Translating a domain name to an IP address.
For example, if you want to visit AnyCompany’s website, you enter the domain name into your PC and this request is sent to a DNS server. Next, the DNS server asks the web server for the IP address that corresponds to AnyCompany’s website. The web server responds by providing the IP address for AnyCompany’s website, 192.0.2.0.
Your company has an application that uses Amazon EC2 instances to run the customer-facing website and Amazon RDS database instances to store customers’ personal information. How should the developer configure the VPC according to best practices?
A - Place the Amazon EC2 instances in a private subnet and the Amazon RDS database instances in a public subnet.
B - Place the Amazon EC2 instances in a public subnet and the Amazon RDS database instances in a private subnet.
C - Place the Amazon EC2 instances and the Amazon RDS database instances in a public subnet.
D - Place the Amazon EC2 instances and the Amazon RDS database instances in a private subnet.
Place the Amazon EC2 instances in a public subnet and the Amazon RDS databases instances in a private subnet.
A subnet is a section of a VPC in which you can group resources based on security or operational needs. Subnets can be public or private.
Public subnets contain resources that need to be accessible by the public, such as an online store’s website.
Private subnets contain resources that should be accessible only through your private network, such as a database that contains customers’ personal information and order histories.
Which component can be used to establish a private dedicated connection between your company’s data center and AWS?
A - Private subnet
B - DNS
C - AWS Direct Connect
D - Virtual Private Gateway
AWS Direct Connect
Which statement best describes security groups?
A - They are stateful and deny all inbound traffic by default.
B - They are stateful and allow all inbound traffic by default.
C - They are stateless and deny all inbound traffic by default.
D - They are stateless and allow all inbound traffic by default.
Security groups are stateful and deny all inbound traffic by default.
Security groups are stateful. This means that they use previous traffic patterns and flows when evaluating new requests for an instance.
By default, security groups deny all inbound traffic, but you can add custom rules to fit your operational and security needs.