AWS SAA-C03 #146

A company runs a stateless web application in production on a group of Amazon EC2 On-Demand Instances behind an Application Load Balancer. The application experiences heavy usage during an 8-hour period each business day. Application usage is moderate and steady overnight. Application usage is low during weekends.

The company wants to minimize its EC2 costs without affecting the availability of the application.

Which solution will meet these requirements?

A. Use Spot Instances for the entire workload.

B. Use Reserved Instances for the baseline level of usage. Use Spot instances for any additional capacity that the application needs.

C. Use On-Demand Instances for the baseline level of usage. Use Spot Instances for any additional capacity that the application needs.

D. Use Dedicated Instances for the baseline level of usage. Use On-Demand Instances for any additional capacity that the application needs.


The best solution to meet these requirements would be Option C: Use On-Demand Instances for the baseline level of usage. Use Spot Instances for any additional capacity that the application needs.

Here's why:

  • On-Demand Instances: These instances are suitable for the baseline level of usage because they offer flexible computing power with no upfront costs or long-term commitments. They can be increased or decreased based on the demand of your application, making them ideal for applications with short-term, irregular workloads that cannot be interrupted.

  • Spot Instances: Spot Instances allow you to take advantage of unused EC2 capacity in the AWS cloud at a significant discount compared to On-Demand pricing. Spot Instances are recommended for applications that have flexible start and end times, or that are only feasible at very low compute prices. Since your application experiences heavy usage during a specific period each business day and moderate usage overnight, Spot Instances can be used to handle any additional capacity that the application needs during these periods.

This combination allows the company to handle varying levels of application usage efficiently while minimizing EC2 costs. Please note that it's important to manage Spot Instances properly to avoid interruptions when market conditions change.

Options A, B, and D are not as cost-effective or flexible for this particular use case. For example, Reserved Instances require a long-term commitment and may not provide the flexibility needed for this application's variable usage patterns. Similarly, Dedicated Instances are typically more expensive and may not offer the cost savings the company is looking for.

Option B suggests using Reserved Instances for the baseline level of usage and Spot instances for any additional capacity that the application needs.

Reserved Instances are a good choice when you have predictable workloads and can commit to using EC2 over a 1-year or 3-year term. They provide a significant discount (up to 75%) compared to On-Demand instance pricing and provide a capacity reservation when used in a specific Availability Zone.

However, in this scenario, the application usage is not entirely predictable. It experiences heavy usage during an 8-hour period each business day, moderate and steady usage overnight, and low usage during weekends. This variable usage pattern may not fully utilize the capacity reserved by Reserved Instances, leading to potential cost inefficiencies.

On the other hand, On-Demand Instances offer flexibility without any upfront cost or long-term commitment, making them more suitable for handling the baseline level of usage in this case. They can be scaled up or down based on demand, which aligns well with the application's variable usage pattern.

Therefore, while Option B isn't necessarily incorrect, Option C is more cost-effective and flexible for this particular use case.

相关推荐
m0_694845571 小时前
tinylisp 是什么?超轻量 Lisp 解释器编译与运行教程
服务器·开发语言·云计算·github·lisp
ESBK20251 小时前
第四届移动互联网、云计算与信息安全国际会议(MICCIS 2026)二轮征稿启动,诚邀全球学者共赴学术盛宴
大数据·网络·物联网·网络安全·云计算·密码学·信息与通信
fendouweiqian3 小时前
AWS WAF(配合 CloudFront)基础防护配置:免费能做什么、要不要开日志、如何限制危险方法
网络安全·aws·cloudfront
_运维那些事儿15 小时前
VM环境的CI/CD
linux·运维·网络·阿里云·ci/cd·docker·云计算
人间打气筒(Ada)18 小时前
k8s:CNI网络插件flannel与calico
linux·云原生·容器·kubernetes·云计算·k8s
主机哥哥1 天前
2026年阿里云五种方案快速部署 OpenClaw(Clawdbot)详细教程
阿里云·云计算
m0_694845571 天前
music-website 是什么?前后端分离音乐网站部署实战
linux·运维·服务器·云计算·github
新新学长搞科研1 天前
【智慧城市专题IEEE会议】第六届物联网与智慧城市国际学术会议(IoTSC 2026)
人工智能·分布式·科技·物联网·云计算·智慧城市·学术会议
翼龙云_cloud1 天前
亚马逊云代理商: RDS 误删实例急救指南 5 步找回数据
服务器·云计算·aws
翼龙云_cloud1 天前
阿里云代理商: 如何选择适合自己的阿里云 ECS 配置?
服务器·阿里云·云计算