exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 151 discussion

A company has migrated an application from on premises to AWS. The application frontend is a static website that runs on two Amazon EC2 instances behind an Application Load Balancer (ALB). The application backend is a Python application that runs on three EC2 instances behind another ALB. The EC2 instances are large, general purpose On-Demand Instances that were sized to meet the on-premises specifications for peak usage of the application.

The application averages hundreds of thousands of requests each month. However, the application is used mainly during lunchtime and receives minimal traffic during the rest of the day.

A solutions architect needs to optimize the infrastructure cost of the application without negatively affecting the application availability.

Which combination of steps will meet these requirements? (Choose two.)

  • A. Change all the EC2 instances to compute optimized instances that have the same number of cores as the existing EC2 instances.
  • B. Move the application frontend to a static website that is hosted on Amazon S3.
  • C. Deploy the application frontend by using AWS Elastic Beanstalk. Use the same instance type for the nodes.
  • D. Change all the backend EC2 instances to Spot Instances.
  • E. Deploy the backend Python application to general purpose burstable EC2 instances that have the same number of cores as the existing EC2 instances.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
severlight
Highly Voted 1 year, 5 months ago
Selected Answer: BE
Burstable instances let you save costs, you pay for some baseline - say 40 percent, if the instance is utilized less - credits get accumulated. So, it is good for workloads with changing CPU loads.
upvoted 10 times
...
kiran15789
Highly Voted 2 years, 2 months ago
Selected Answer: BE
Burstable EC2 instances, also known as T instances, provide a baseline level of CPU performance with the ability to burst CPU usage when additional cycles are available. They are designed for workloads that do not require sustained high CPU performance but occasionally need more CPU power. Burstable instances can be a cost-effective option for workloads that have moderate CPU requirements but still require flexibility to handle occasional spikes in demand.
upvoted 5 times
...
sse69
Most Recent 12 months ago
Uhm, S3 static website with a Python backend? Am I missing something? How can S3 interact with a backend?
upvoted 1 times
helloworldabc
8 months, 3 weeks ago
just B,E
upvoted 1 times
...
...
career360guru
1 year, 4 months ago
Selected Answer: BE
Option B and E
upvoted 1 times
...
NikkyDicky
1 year, 10 months ago
Selected Answer: BE
it's BE
upvoted 3 times
...
rbm2023
1 year, 11 months ago
Selected Answer: BE
You cannot move all backend to Spot Instances this will break the requirement for not affecting the application availability. You can improve by moving the static site to S3, front end, and change the on demand instances to burst capacity.
upvoted 4 times
...
OCHT
2 years, 1 month ago
Selected Answer: BE
Amazon EC2 Spot Instances allow you to take advantage of unused EC2 capacity in the AWS Cloud at a steep discount compared to On-Demand Instance prices. Spot Instances are well-suited for workloads that can be interrupted, such as batch processing, data analysis, and image or video processing. They can also be used for fault-tolerant workloads that can withstand the loss of an instance, such as web services or stateless applications.
upvoted 2 times
OCHT
2 years, 1 month ago
Option C suggests deploying the application frontend using AWS Elastic Beanstalk and using the same instance type for the nodes. Elastic Beanstalk is a fully managed service that makes it easy to deploy, run, and scale applications. It automatically handles the deployment and management of the underlying infrastructure, including capacity provisioning, load balancing, and auto-scaling. However, using Elastic Beanstalk with the same instance type as the existing EC2 instances may not necessarily reduce costs.
upvoted 1 times
...
OCHT
2 years, 1 month ago
Option E suggests deploying the backend Python application to general purpose burstable EC2 instances that have the same number of cores as the existing EC2 instances. Burstable instances provide a baseline level of CPU performance with the ability to burst above the baseline when needed. This can be a cost-effective option for workloads that have variable CPU usage and can benefit from the ability to burst during periods of high demand. However, if the workload consistently requires high CPU usage, using burstable instances may not provide significant cost savings compared to using larger general purpose instances.
upvoted 2 times
...
...
mfsec
2 years, 1 month ago
Selected Answer: BE
BE makes the most sense here
upvoted 1 times
...
God_Is_Love
2 years, 2 months ago
Selected Answer: BE
Burstable because peak performance is needed at lunch time and its cost effective based on this - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html S3 static website hosting is cost effective
upvoted 5 times
...
tatdatpham
2 years, 3 months ago
Selected Answer: BE
The correct answer is B, E. Option B of moving the frontend to a static website hosted on Amazon S3 will reduce the cost of running the frontend, as S3 is a lower cost storage option than EC2 instances. Option E of deploying the backend Python application to general purpose burstable EC2 instances will ensure that the backend EC2 instances have the capacity to handle spikes in usage, as burstable instances are designed to handle unpredictable workloads. This will help to optimize the cost of running the backend, as burstable instances are less expensive than On-Demand instances and more cost-effective than Spot instances.
upvoted 1 times
...
Untamables
2 years, 3 months ago
Selected Answer: BE
B and E. Option D is wrong. A spot instance is not appropriate for a production server. By the way, I would like another option that mentions changing the backend Python API Gateway and Lambda because Option B mentions changing the frontend serverless. I think this question is a typical use case of the serverless architecture.
upvoted 4 times
...
vsk12
2 years, 3 months ago
Selected Answer: BE
Correct answers are B & E Option B as S3 is a cost-effective storage solution for static websites. Option E as burstable general-purpose instances provides a cost-effective solution for this kind of workload.
upvoted 2 times
...
masetromain
2 years, 3 months ago
Selected Answer: BD
B. Move the application frontend to a static website that is hosted on Amazon S3. D. Change all the backend EC2 instances to Spot Instances. Step 1: Moving the application frontend to a static website that is hosted on Amazon S3 will reduce the cost and increase the scalability of the application. S3 is a highly scalable object storage service that can handle large amounts of data and traffic at a lower cost than running EC2 instances. Step 2: Changing the backend EC2 instances to Spot Instances can help reduce cost without negatively affecting the application availability. Spot Instances allow customers to bid on unused Amazon EC2 capacity, which can result in significant cost savings. You can also use AWS Auto Scaling to automatically increase or decrease the number of Spot Instances based on the application's traffic.
upvoted 4 times
masetromain
2 years, 3 months ago
Option A, C: Changing to compute optimized instances or using Elastic Beanstalk will not help reducing the cost, it will only change the instances type and not helping the cost optimization. Option E: Deploying the backend Python application to general purpose burstable EC2 instances will not help reducing the cost, as it still using On-Demand instances. It is important to note that using spot instances comes with the risk of instances being terminated when the spot price goes up. To mitigate this risk, you could use the EC2 Auto Scaling group with a combination of on-demand and spot instances. This way, if a spot instance is terminated, the Auto Scaling group can automatically replace it with an on-demand instance to ensure the application is always available.
upvoted 1 times
...
...
zhangyu20000
2 years, 3 months ago
BE are correct A: Compute optimized instance is expensive than burstable instance B: S3 hosted static web server is cheaper C: Not save money D: Spot instance affect availibility E: Burstable EC2 is cheaper
upvoted 2 times
masetromain
2 years, 3 months ago
To mitigate this risk, you could use the EC2 Auto Scaling group with a combination of on-demand and spot instances. This way, if a spot instance is terminated, the Auto Scaling group can automatically replace it with an on-demand instance to ensure the application is always available.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago