exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 563 discussion

Exam question from Amazon's AWS-SysOps
Question #: 563
Topic #: 1
[All AWS-SysOps Questions]

An application running on Amazon EC2 allows users to launch batch jobs for data analysis. The jobs are run asynchronously, and the user is notified when they are complete. While multiple jobs can run concurrently, a user's request need not be fulfilled for up to 24 hours. To run a job, the application launches an additional EC2 instance that performs all the analytics calculations. A job takes between 75 and 110 minutes to complete and cannot be interrupted.
What is the MOST cost-effective way to run this workload?

  • A. Run the application on On-Demand EC2 instances. Run the jobs on Spot Instances with a specified duration.
  • B. Run the application on Reserved Instance EC2 instances. Run the jobs on AWS Lambda.
  • C. Run the application on On-Demand EC2 instances. Run the jobs on On-Demand EC2 instances.
  • D. Run the application on Reserved Instance EC2 instances. Run the jobs on Spot Instances with a specified duration.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
NitiATOS
Highly Voted 2 years, 6 months ago
I will go with A Scenario do not say anything about Annual Duration. RI you have to book for 1 year or 3 Year Period. If the application is running for lesser time, On-Demand is better option. And Of Course - SPOT - BLOCK to block the time for 110 minute(You can book it for 6 Hours Max)
upvoted 6 times
...
wshyang
Highly Voted 2 years, 6 months ago
https://aws.amazon.com/about-aws/whats-new/2015/10/introducing-amazon-ec2-spot-instances-for-specific-duration-workloads/
upvoted 6 times
...
albert_kuo
Most Recent 9 months, 4 weeks ago
Selected Answer: D
Running the jobs on Spot Instances with a specified duration further optimizes costs. Since the jobs can take between 75 and 110 minutes to complete and cannot be interrupted, you can request Spot Instances with a specified duration to match the estimated duration of the job. Spot Instances are spare capacity instances offered at significantly lower prices compared to On-Demand instances. By leveraging Spot Instances, you can further reduce costs while ensuring that the job completes without interruption.
upvoted 1 times
...
DAAJ
11 months ago
The correct answer now is C because Spot Blocks are not available. https://aws.amazon.com/about-aws/whats-new/2015/10/introducing-amazon-ec2-spot-instances-for-specific-duration-workloads/ Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers since July 1, 2021. For customers that have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.
upvoted 1 times
...
babaEniola
2 years, 5 months ago
The answer is C. This is the only logical answer because it's not A and D because you cannot run a job that cannot be interrupted on a spot instance and it is not B because max minute to run a lambda job is 15mins.
upvoted 2 times
...
iExpo_91
2 years, 6 months ago
I would go with A as an answer: Scheduled Reserved Instances (Scheduled Instances) enable you to purchase capacity reservations that recur on a daily, weekly, or monthly basis, with a specified start time and duration, for a one-year term. You reserve the capacity in advance, so that you know it is available when you need it.
upvoted 1 times
iExpo_91
2 years, 5 months ago
sorry i meant D: is an answer
upvoted 1 times
...
...
AWS_Noob
2 years, 6 months ago
Taking the following link into consideration. https://aws.amazon.com/about-aws/whats-new/2015/10/introducing-amazon-ec2-spot-instances-for-specific-duration-workloads/ D - Is the correct answer B - Cannot work because Lambda has a max runtime of 15mins. A job takes between 75min - 110minutes to complete, which will then rule Lambda out
upvoted 4 times
...
Boardy
2 years, 6 months ago
D is missing a key word at the end. "specified duration" https://aws.amazon.com/about-aws/whats-new/2015/10/introducing-amazon-ec2-spot-instances-for-specific-duration-workloads/ as it states: When Spot instance capacity is available for the requested duration, your instances will launch and run for that duration for a flat hourly price. Once the time block ends, your instance will be terminated automatically
upvoted 2 times
...
ezat
2 years, 6 months ago
I'll choose B
upvoted 1 times
...
sen12
2 years, 6 months ago
The question is about Cost Effective: From the URL : https://aws.amazon.com/about-aws/whats-new/2015/10/introducing-amazon-ec2-spot-instances-for-specific-duration-workloads/ You can now request Amazon EC2 Spot instances to run continuously, for up to six hours, at a flat rate that saves you up to 50% compared to On-Demand prices. This enables you to reduce costs when running finite duration tasks such as batch processing, encoding and rendering, modeling and analysis, and continuous integration jobs.
upvoted 5 times
fromnowhere
1 year, 12 months ago
thanks man I wasn't aware of this update
upvoted 1 times
...
AWS_Noob
2 years, 6 months ago
I never knew this was possible. Thanks for sharing
upvoted 2 times
NivNZ
2 years, 5 months ago
Yes, it's Spot block instances.
upvoted 1 times
...
...
...
sen12
2 years, 6 months ago
I am not very comfortable running Spot Instances for any jobs. The cost is about Cost effective, Reserved instances have good discounts with 1 yrs and 3 yrs and also Lambda functions pay as you use. But going through the URL sent by wshyang, I will go with D https://aws.amazon.com/about-aws/whats-new/2015/10/introducing-amazon-ec2-spot-instances-for-specific-duration-workloads/
upvoted 2 times
AWS_Noob
2 years, 6 months ago
Also keep in mind that Lambda has a max runtime of 15mins
upvoted 2 times
...
...
JGD
2 years, 6 months ago
Answer B
upvoted 2 times
...
karmaah
2 years, 6 months ago
A job takes between 75 and 110 minutes to complete and cannot be interrupted and should be cost effective. If we select D or A then , what is the guarantee not to interrupt between 75 and 11 Mins ???
upvoted 4 times
...
saumenP
2 years, 7 months ago
RI will have up to 75% discount as compared to on-demand
upvoted 1 times
karmaah
2 years, 6 months ago
Even Though A or D is not suitable due to interruption, the question mentioned the Most Cost Effective which overwrites the actual question requirement. Hence D may be correct. RI can be useful . But it is 1 or 3 Yrs contract period.
upvoted 1 times
...
...
kkwang
2 years, 7 months ago
why is not the A
upvoted 1 times
AWS_Noob
2 years, 6 months ago
On demand is pay per use. The application running daily will not be a cost saving
upvoted 2 times
Akinwaleo
11 months, 3 weeks ago
EXACTLY, so D is the answer
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