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.

相关推荐
TMT星球9 小时前
IDC报告:阿里云稳居中国混合云软件及服务市场第一
阿里云·云计算
weixin_6665939913 小时前
自然资源时空智能体建设方案:从数字化到智能化的演进路径
大数据·人工智能·大模型·云计算·agent·云平台·空间数据库
Database_Cool_14 小时前
LLM 应用怎么省 Token、加速响应——阿里云 Tair 语义缓存实战
阿里云·缓存·云计算
RoboWizard15 小时前
金士顿高速闪存盘 单双接口适配多元存储需求
大数据·运维·人工智能·智能手机·云计算
Kari1116 小时前
腾讯云ADP部署需要什么条件?部署流程与配置检查清单
人工智能·云计算·腾讯云
国际云,接待16 小时前
Google Cloud Armor实战:给网站API加WAF、限速和日志验证
后端·网络安全·云计算·googlecloud
REST_30271 天前
告别Excel孤岛:一款任务链路可视化工具带来的真实改变
大数据·微服务·云计算·编辑器·excel·动态规划
在水一缸1 天前
苹果AI国行版过审背后的技术架构深度解析:端侧模型与私有云计算的融合实践
人工智能·架构·云计算·技术架构·苹果ai·端侧模型·私有云计算
Geek-Chow2 天前
ALB SSL policy conflict (AWS Load Balancer Controller)
网络协议·ssl·aws
spider_xcxc2 天前
K8s 部署学习笔记
docker·容器·kubernetes·云计算·k8s