Cost-effective Instance Types for Flexible Workloads in AWS | Exam Question Answer

Choose the Best Instance Types for Your AWS Workloads

Question

You are planning to host a general purpose workload application in AWS.

You want to set up a cost-effective Instance type with the ability to be flexible for spikes in application usage.

Which of the following can be used to implement this requirement? Choose 2 answers from the options given below.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answers: A and D.

The AWS Documentation mentions the following.

T2 Unlimited is a configuration option for T2 instances that can be set at launch or enabled at any time for a running or stopped T2 instance.

T2 Unlimited instances can burst above the baseline for as long as required.

This enables you to enjoy the low T2 instance at an hourly price for a wide variety of general-purpose applications and ensures that your instances are never held to the baseline performance.

The basic T2 hourly instance price automatically covers all CPU usage spikes if the average CPU utilization of a T2 Unlimited instance over a rolling 24-hour period is at or below the baseline.

For a vast majority of general-purpose workloads, T2 Unlimited instances provide ample performance without any additional charges.

Option B is incorrect since this will not be a cost-effective option.

Option C is incorrect since this is not a configurable option.

For more information on T2 unlimited, please refer to the below URL-

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-unlimited.html

The most cost-effective instance type for a general purpose workload application is the T2 instance type family. The T2 instance type family is designed to provide a baseline level of CPU performance with the ability to burst above the baseline for short periods of time when needed.

Therefore, option A - "Configure a t2.micro instance" is a valid choice for this scenario. The t2.micro instance type provides a baseline level of 10% of a single vCPU and the ability to burst up to 100% of a single vCPU for short periods of time.

In addition to selecting a T2 instance type, it is also recommended to configure the instance with the T2 Unlimited option (option D). The T2 Unlimited option allows the instance to continuously burst above the baseline level for an additional cost, providing more flexibility for spikes in application usage. With T2 Unlimited, any additional CPU usage beyond the baseline level is charged at a low, hourly rate.

Lastly, option C - "Configure burstable performance on the instance" is not a separate option but rather a feature of the T2 instance type family. The T2 instances are designed to provide burstable performance by default.

Option B - "Configure a c4.large instance" is not a cost-effective option for a general purpose workload application as the C4 instance type family is optimized for compute-intensive workloads and is generally more expensive than the T2 instance type family.