exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 5 question 20 discussion

Actual exam question from Microsoft's AZ-304
Question #: 20
Topic #: 5
[All AZ-304 Questions]

HOTSPOT -
You are designing a cost-optimized solution that uses Azure Batch to run two types of jobs on Linux nodes. The first job type will consist of short-running tasks for a development environment. The second job type will consist of long-running Message Passing Interface (MPI) applications for a production environment that requires timely job completion.
You need to recommend the pool type and node type for each job type. The solution must minimize compute charges and leverage Azure Hybrid Benefit whenever possible.
What should you recommend? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: User subscription and low-priority virtual machines
Azure Batch offers low-priority virtual machines (VMs) to reduce the cost of Batch workloads. Low-priority VMs make new types of Batch workloads possible by enabling a large amount of compute power to be used for a very low cost.
Some examples of batch processing use cases well suited to use low-priority VMs are:
✑ Development and testing: In particular, if large-scale solutions are being developed, significant savings can be realized. All types of testing can benefit, but large-scale load testing and regression testing are great uses.
✑ Supplementing on-demand capacity.
✑ Flexible job execution time.
Box 2: Batch service and dedicate virtual machines
Reference:
https://docs.microsoft.com/en-us/azure/batch/batch-low-pri-vms

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
Amit3
Highly Voted 3 years, 10 months ago
1. User Subscription and dedicated virtual machines. 2. Batch service and dedicated virtual machines.
upvoted 24 times
...
heany
Highly Voted 4 years, 1 month ago
it seems that no correct answer for the First question. Using low priority VMS is right but it doesn't support user subscription mode. So should be batch service and low priority VMs. https://docs.microsoft.com/en-us/azure/batch/batch-low-pri-vms Low-priority VMs are not currently supported for Batch accounts created in user subscription mode.
upvoted 22 times
Harish55
3 years, 12 months ago
But here we don't have option for using low priority VM's with Batch job. So do we needs to go with batch job with dedicated VM despite the cost is bit high ?
upvoted 2 times
...
altafpatel1984
3 years, 2 months ago
Based on following statement, C in Box-1 seems wrong answer. https://docs.microsoft.com/en-us/azure/batch/batch-spot-vms#differences-between-spot-and-low-priority-vms "Batch accounts that use the user subscription pool allocation mode always get Spot VMs. Batch accounts that use the Batch managed pool allocation mode always get low-priority VMs."
upvoted 1 times
...
...
Teringzooi
Most Recent 3 years ago
Today in AZ-305 exam. PAssed.
upvoted 3 times
...
MrClumsy
3 years, 3 months ago
I do not see any reason to use Batch account with the pool allocation mode set to UserSubscription until you need to put your VMs into your Vnet: https://azure.microsoft.com/en-us/updates/new-azure-batch-capabilities-march-2017/
upvoted 1 times
...
TariqKipkemei
3 years, 3 months ago
As at today 21/jan/2022 from azure portal you can setup: 1.user subscription and dedicated nodes 2. user subscription and spot/low-priority nodes 3. batch service and dedicated nodes 4. batch service and spot/low-priority vms.
upvoted 6 times
...
[Removed]
3 years, 4 months ago
Given answer is correct. Box1: User Subs with low-priority VMs (development jobs and cost factor) Box2: Batch Service and dedicated VMs (production and long running task)
upvoted 2 times
...
DoctorCOmputer
3 years, 4 months ago
Thanks me later Correct Answer: User Subscription and dedicated virtual machines. Batch service and dedicated virtual machines.
upvoted 2 times
...
thienvupt
3 years, 6 months ago
Correct answer, Low-priority VMs are offered at a significantly reduced price compared with dedicated VMs.
upvoted 2 times
...
waqas
3 years, 7 months ago
Although options are mixed up and needs correction....But if i have to choose. I will for 1. Batch service and dedicated virtual machines. 2. User Subscription and dedicated virtual machines.
upvoted 1 times
...
syu31svc
3 years, 7 months ago
https://docs.microsoft.com/en-us/azure/batch/batch-low-pri-vms Tasks with shorter execution times tend to work best with low-priority VM First drop down should be batch service with low priority VMs but no option shown for this. I'm guessing either the question will be updated in exam from feedback or the display is not properly set
upvoted 2 times
syu31svc
3 years, 7 months ago
(on 2nd drop down) https://docs.microsoft.com/en-us/azure/batch/accounts#batch-accounts When creating a Batch account, you can choose between two pool allocation modes: user subscription and Batch service. For most cases, you should use the default Batch service mode, in which pools are allocated behind the scenes in Azure-managed subscriptions. In the alternative user subscription mode, Batch VMs and other resources are created directly in your subscription when a pool is created. User subscription mode is required if you want to create Batch pools using Azure Reserved VM Instances. To create a Batch account in user subscription mode, you must also register your subscription with Azure Batch, and associate the account with an Azure Key Vault. https://docs.microsoft.com/en-us/azure/batch/nodes-and-pools#node-type-and-target Dedicated nodes. Dedicated compute nodes are reserved for your workloads. They are more expensive than low-priority nodes, but they are guaranteed to never be preempted. Answer for 2nd drop down is user subscription and dedicated VMs
upvoted 4 times
...
...
poplovic
3 years, 7 months ago
both are user subscriptions with dedicated vms see the requirement "leverage azure hybrid benefit when possible". You have to choose user subscription to achieve that. Also, there is no such thing "user subscription with low-priority vms". This left us to two options: batch service with dedicated vms VS user subscription with dedicated VMs. But we can apply hybrid benefit if we go user subscripiton. https://docs.microsoft.com/en-us/azure/virtual-machines/linux/azure-hybrid-benefit-linux
upvoted 5 times
AberdeenAngus
2 years, 10 months ago
I can't find a link saying that Azure Hybrid Benefit is only available with user subscription, although it doesn't sound crazy. Can anyone reply with a link please? I did see that Reserved Instances are only an option with user subscription.
upvoted 1 times
...
...
leo_az300
3 years, 7 months ago
First one should be batch account with dedicated VM. It say short-run, but doesn't say high/low performance compute resources. So it's not capable for reserved instances. User subscription mode is required if you want to create Batch pools using Azure Reserved VM Instances. Therefore it's Batch Account for the 1st box. Second one is correct
upvoted 1 times
...
nkv
3 years, 7 months ago
came in exam on 20-sep-21, I passed, I choose given one
upvoted 4 times
...
Pinto
3 years, 9 months ago
I think the answer for both is User subscription with Dedicated VMs. User subscription will allow for use of Reserved Instances thereby lowering cost which is a requirement. Using User subscription pool can land us into the quota mess though as it will take the VMs from the subscription quota whereas the Batch service pool has its separate quota.
upvoted 3 times
...
crazyaboutazure
3 years, 10 months ago
now that Spot VMs are offered I wonder if this is a relevant question for future exams. MS has a habit of creating complicated solutions which customers will take decades to understand.
upvoted 4 times
crazyaboutazure
3 years, 10 months ago
However answer should be user subscription with dedicated VM and batch with dedicated VM
upvoted 1 times
...
...
erunit
3 years, 10 months ago
I'm thinking how is it possible to have a question, all the time to answer, we are a lot of people on this forum and we can't find a definitive answer :-) How can someone answer this question on their own in the exam phase and be sure to give the right solution? :-D What are the DEFINITIVELY right answers?
upvoted 8 times
micofucho
3 years, 2 months ago
What is more, I'm absolutely sure that if you ask to 5 different Microsoft engineers, not even them will give you the same answer.
upvoted 3 times
betterthanlife
1 year, 12 months ago
Just keep drinking the coolaid, that's all they want. Just as the saying goes, order out of chaos... you need at least two antithesis to create synthesis. Why not just create 1000s of the former?
upvoted 1 times
...
...
...
VijiVivek
3 years, 11 months ago
I guess the provided answers are right https://docs.microsoft.com/en-us/azure/batch/batch-quota-limit
upvoted 2 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