ExamGecko
Home Home / Amazon / CLF-C02

Amazon CLF-C02 Practice Test - Questions Answers, Page 70

Question list
Search
Search

List of questions

Search

Related questions











A company wants a cost-effective option when running its applications in an Amazon EC2 instance for short time periods. The applications can be interrupted.

Which EC2 instance type will meet these requirements?

A.
Spot Instances
A.
Spot Instances
Answers
B.
On-Demand Instances
B.
On-Demand Instances
Answers
C.
Reserved Instances
C.
Reserved Instances
Answers
D.
Dedicated Instances
D.
Dedicated Instances
Answers
Suggested answer: A

Explanation:

Spot Instances provide a cost-effective option for running Amazon EC2 instances for workloads that can tolerate interruptions. They allow you to use unused EC2 capacity in the AWS Cloud at a discounted price, making them suitable for applications that are flexible in terms of start and stop times. On-Demand Instances are more expensive and do not provide discounts for short-term, interruptible workloads, while Reserved and Dedicated Instances are for long-term or specific hardware needs.

A company runs an uninterruptible Amazon EC2 workload on AWS 24 hours a day. 7 days a week. The company will require the same instance family and instance type to run the workload for the next 12 months.

Which combination of purchasing options should the company choose to MOST optimize costs? (Select TWO.)

A.
Standard Reserved Instance
A.
Standard Reserved Instance
Answers
B.
Convertible Reserved Instance
B.
Convertible Reserved Instance
Answers
C.
Compute Savings Plan
C.
Compute Savings Plan
Answers
D.
Spot Instance
D.
Spot Instance
Answers
E.
All Upfront payment
E.
All Upfront payment
Answers
Suggested answer: A, E

Explanation:

For workloads running 24/7 for a year, Standard Reserved Instances provide a significant discount compared to On-Demand pricing. Choosing the 'All Upfront' payment option maximizes the cost savings as AWS offers the highest discount for upfront payments. Convertible Reserved Instances provide flexibility to change the instance type but usually at a slightly higher cost than Standard Reserved Instances. Compute Savings Plans offer cost savings, but in this scenario, the best optimization would be a combination of Standard Reserved Instances with All Upfront payment. Spot Instances are not suitable due to their interruptible nature. References:

AWS EC2 Reserved Instances

AWS Savings Plans

What is the recommended use case for Amazon EC2 On-Demand Instances?

A.
A steady-state workload that requires a particular EC2 instance configuration for a long period of time
A.
A steady-state workload that requires a particular EC2 instance configuration for a long period of time
Answers
B.
A workload that can be interrupted for a project that requires the lowest possible cost
B.
A workload that can be interrupted for a project that requires the lowest possible cost
Answers
C.
An unpredictable workload that does not require a long-term commitment
C.
An unpredictable workload that does not require a long-term commitment
Answers
D.
A workload that is expected to run for longer than 1 year
D.
A workload that is expected to run for longer than 1 year
Answers
Suggested answer: C

Explanation:

Amazon EC2 On-Demand Instances are ideal for unpredictable workloads that do not require a long-term commitment. This option allows users to pay for compute capacity by the hour or second, with no long-term commitments. It is suitable for short-term, spiky, or unpredictable workloads that cannot be interrupted and require flexibility. Option A is better suited for Reserved Instances, Option B is ideal for Spot Instances, and Option D is more suited for Reserved Instances due to cost optimization for long-term use.

'There is no long-term commitment required when you purchase On-Demand Instances. You pay only for the seconds that your On-Demand Instances are in the running state, with a 60-second minimum. The price per second for a running On-Demand Instance is fixed, and is listed on the Amazon EC2 Pricing, On-Demand Pricing page. We recommend that you use On-Demand Instances for applications with short-term, irregular workloads that cannot be interrupted.' https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html

Which advantage of cloud computing allows users to scale resources up and down based on the amount of load that an application supports?

A.
Go global in minutes
A.
Go global in minutes
Answers
B.
Stop guessing capacity
B.
Stop guessing capacity
Answers
C.
Benefit from massive economies of scale
C.
Benefit from massive economies of scale
Answers
D.
Trade fixed expense for variable expense
D.
Trade fixed expense for variable expense
Answers
Suggested answer: B

Explanation:

The ability to scale resources up and down based on application load is tied to the advantage of 'Stop guessing capacity.' This feature allows users to scale resources automatically to match the demand, thereby avoiding over-provisioning or under-provisioning of resources. 'Go global in minutes,' 'Benefit from massive economies of scale,' and 'Trade fixed expense for variable expense' are other advantages of cloud computing, but they do not specifically address scaling resources up and down based on load.

Which combination of AWS services can be used to move a commercial relational database to an Amazon-managed open-source database? (Select TWO.)

A.
AWS Database Migration Service (AWS DMS)
A.
AWS Database Migration Service (AWS DMS)
Answers
B.
AWS software development kits (SDKs)
B.
AWS software development kits (SDKs)
Answers
C.
AWS Schema Conversion Tool
C.
AWS Schema Conversion Tool
Answers
D.
AWS Systems Manager
D.
AWS Systems Manager
Answers
E.
Amazon EMR
E.
Amazon EMR
Answers
Suggested answer: A, C

Explanation:

AWS Database Migration Service (DMS) and AWS Schema Conversion Tool are the primary services for migrating a commercial relational database to an Amazon-managed open-source database. AWS DMS helps migrate the data, while the AWS Schema Conversion Tool converts the database schema from the source database format to the target format, including SQL code. AWS SDKs are for software development, AWS Systems Manager is for operational management, and Amazon EMR is for big data processing, which are not relevant to this use case.

A company has a workload that will run continuously for 1 year. The workload cannot tolerate service interruptions.

Which Amazon EC2 purchasing option will be MOST cost-effective?

A.
All Upfront Reserved Instances
A.
All Upfront Reserved Instances
Answers
B.
Partial Upfront Reserved Instances
B.
Partial Upfront Reserved Instances
Answers
C.
Dedicated Instances
C.
Dedicated Instances
Answers
D.
On-Demand Instances
D.
On-Demand Instances
Answers
Suggested answer: A

Explanation:

All Upfront Reserved Instances offer the most cost-effective solution for a workload that will run continuously for one year without interruption. By paying upfront, the user receives the maximum discount over the On-Demand pricing model. Partial Upfront Reserved Instances and Dedicated Instances are more expensive than All Upfront Reserved Instances. On-Demand Instances are not cost-effective for continuous long-term workloads due to their higher hourly rates.

To assist companies with Payment Card Industry Data Security Standard (PCI DSS) compliance in the cloud. AWS provides:

A.
physical inspections of data centers by appointment.
A.
physical inspections of data centers by appointment.
Answers
B.
required PCI compliance certifications for any application running on AWS.
B.
required PCI compliance certifications for any application running on AWS.
Answers
C.
an AWS Attestation of Compliance (AOC) report for specific AWS services.
C.
an AWS Attestation of Compliance (AOC) report for specific AWS services.
Answers
D.
professional PCI compliance services.
D.
professional PCI compliance services.
Answers
Suggested answer: C

Explanation:

AWS provides an Attestation of Compliance (AOC) report for specific AWS services to assist companies in achieving Payment Card Industry Data Security Standard (PCI DSS) compliance in the cloud. This report demonstrates that AWS services meet the necessary PCI DSS requirements. AWS does not offer physical inspections of data centers by appointment, nor does it provide certifications for any application running on AWS. Additionally, AWS does not provide professional PCI compliance services; companies must manage their PCI compliance in their environment.

Which programming languages does AWS Cloud Development Kit (AWS CDK) currently support? (Select TWO.)

A.
Python
A.
Python
Answers
B.
Swift
B.
Swift
Answers
C.
TypeScript
C.
TypeScript
Answers
D.
Ruby
D.
Ruby
Answers
E.
PHP
E.
PHP
Answers
Suggested answer: A, C

Explanation:

The AWS Cloud Development Kit (AWS CDK) currently supports multiple programming languages, including Python and TypeScript. These languages allow developers to define cloud infrastructure using familiar programming constructs. Python and TypeScript are among the first languages supported by AWS CDK, which also supports Java, C#, and JavaScript. This enables developers to use their existing programming skills and tools to define cloud infrastructure in code.

B . Swift: Incorrect, as Swift is not currently supported by AWS CDK.

D . Ruby: Incorrect, as Ruby is not currently supported by AWS CDK.

E . PHP: Incorrect, as PHP is not currently supported by AWS CDK.

AWS Cloud References:

AWS Cloud Development Kit (AWS CDK)

Which AWS Cloud design principle is a company using when the company implements AWS CloudTrail?

A.
Activate traceability.
A.
Activate traceability.
Answers
B.
Use serverless compute architectures.
B.
Use serverless compute architectures.
Answers
C.
Perform operations as code.
C.
Perform operations as code.
Answers
D.
Go global in minutes.
D.
Go global in minutes.
Answers
Suggested answer: A

Explanation:

By implementing AWS CloudTrail, a company is adhering to the AWS Cloud design principle of activating traceability. AWS CloudTrail provides detailed logs of all API calls made in an AWS account, which helps monitor, troubleshoot, and detect unusual activity, thereby improving security and compliance. This supports the principle of 'activating traceability' by enabling continuous monitoring and auditing of all actions and changes within the AWS environment.

B . Use serverless compute architectures: Incorrect, as this principle encourages the use of managed services that handle infrastructure, such as AWS Lambda, and is not directly related to CloudTrail.

C . Perform operations as code: Incorrect, as this principle emphasizes the use of code and automation for infrastructure management.

D . Go global in minutes: Incorrect, as this principle relates to the global deployment of applications and services.

AWS Cloud References:

AWS Well-Architected Framework

AWS CloudTrail

A company stores data in an Amazon S3 bucket.

Which task is the responsibility of AWS?

A.
Configure an S3 Lifecycle policy.
A.
Configure an S3 Lifecycle policy.
Answers
B.
Activate S3 Versioning.
B.
Activate S3 Versioning.
Answers
C.
Configure S3 bucket policies.
C.
Configure S3 bucket policies.
Answers
D.
Protect the infrastructure that supports S3 storage.
D.
Protect the infrastructure that supports S3 storage.
Answers
Suggested answer: D

Explanation:

According to the AWS Shared Responsibility Model, AWS is responsible for protecting the infrastructure that runs all of the services offered in the AWS Cloud, including Amazon S3. This infrastructure includes hardware, software, networking, and facilities that run AWS services.

A . Configure an S3 Lifecycle policy: Incorrect, as configuring S3 Lifecycle policies to manage object lifecycle (e.g., transitioning objects to different storage classes or deleting them after a certain period) is the customer's responsibility.

B . Activate S3 Versioning: Incorrect, as enabling S3 Versioning is a customer responsibility for managing data protection.

C . Configure S3 bucket policies: Incorrect, as setting and managing S3 bucket policies to control access is the customer's responsibility.

AWS Cloud References:

AWS Shared Responsibility Model

Amazon S3

Total 789 questions
Go to page: of 79