exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 4 question 64 discussion

Actual exam question from Microsoft's AZ-305
Question #: 64
Topic #: 4
[All AZ-305 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
The first job type will consist of short-running tasks for a development environment.
Among the many ways to purchase and consume Azure resources are Azure low priority VMs and Spot VMs. These virtual machines are compute instances allocated from spare capacity, offered at a highly discounted rate compared to ג€on demandג€ VMs. This means they can be a great option for cost savings ג€" for the right workloads
Box 2: Batch service and dedicate virtual machines
The second job type will consist of long-running Message Passing Interface (MPI) applications for a production environment that requires timely job completion.
Azure Batch Service is a cloud based job scheduling and compute management platform that enables running large-scale parallel and high performance computing applications efficiently in the cloud. Azure Batch Service provides job scheduling and in automatically scaling and managing virtual machines running those jobs.
Reference:
https://www.parkmycloud.com/blog/azure-low-priority-vms
https://azure.microsoft.com/en-us/pricing/details/batch/

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
jellybiscuit
Highly Voted 2 years, 2 months ago
I agree with the given answer. - Low Priority VMs - batch service and dedicated VMs Low priority VMs are being phased out by Spot VMs, but it does exist. https://learn.microsoft.com/en-us/azure/batch/batch-spot-vms I feel like the mention of Hybrid Benefit is a red herring here. Without knowing your linux variant, that may not even factor into the decision. You can enable it on RHEL or SUSE on a VM. I'm not entirely clear how licensing factors into batch, but the functionality of the batch pool is the most important thing here.
upvoted 32 times
Nicklaas
2 years, 2 months ago
Good point about the licensing, also uncertain how it factors (if at all).
upvoted 1 times
Snownoodles
2 years, 1 month ago
Low Priority VM can only be supported in Batch Service Spot VMs can only be supported in user subscription
upvoted 5 times
...
...
...
Snownoodles
Highly Voted 2 years, 2 months ago
The answer should be: "User Subscription and Dedicated virtual machines" "User Subscription and Dedicated virtual machines" 1. To use "Azure Hybrid Benefit", the pool allocation mode has to be "User Subscription" 2. "User Subscription" doesn't support low-priority VMs(Batch service does)
upvoted 9 times
Galron
2 years, 1 month ago
But there is not Hybrid Benefit as OS is Linux and needs to be Windows OS.
upvoted 2 times
Villa76
1 year, 11 months ago
There is Hybrid benefits for Linux : https://learn.microsoft.com/en-us/azure/virtual-machines/linux/azure-hybrid-benefit-byos-linux Low priority virtual machines is an Azure Batch concept (Batch computing at a fraction of the price). Low priority virtual machines get allocated from the surplus of compute capacity in each region and are offered at a substantially reduced price. This comes with the understanding that there may not be capacity available to satisfy your request. In some rare cases, Azure may have to take some of this capacity back to satisfy other compute allocation requests. Low priority virtual machines are well suited for batch activities like media processing / encoding If you are looking at deploying an A-Series virtual machine in Azure then there are two tiers to choose from: Basic Standard
upvoted 1 times
...
Snownoodles
2 years, 1 month ago
"Azure Hybrid Benefit now provides software updates and integrated support directly from Azure infrastructure for Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES) virtual machines" https://learn.microsoft.com/en-us/azure/virtual-machines/linux/azure-hybrid-benefit-byos-linux
upvoted 2 times
...
...
...
SeMo0o0o0o
Most Recent 3 weeks, 1 day ago
CORRECT
upvoted 1 times
...
Teerawee
2 months, 3 weeks ago
User subscription and low-priority virtual machines Batch service and dedicated virtual machines
upvoted 1 times
...
BShelat
12 months ago
https://learn.microsoft.com/en-us/azure/batch/batch-spot-vms With user subscription pool allocation pool will always have either dedicated or SPOT VMs but not low priority VMs. With Batch managed pool allocation, pool may have either dedicated or low-priority VMs. So, "user subscription & low-priority VM" option is ruled out for both answers. 1st job needs to be run by "specific" department - development for short running tasks so " User Subscription & dedicated VMs" can meet that requirement. For 2nd job opting for "batch service & dedicated VMs" would successfully complete long-running Message Passing Interface (MPI) applications for a production environment in a timely fashion.
upvoted 2 times
...
InvalidNickname
1 year, 4 months ago
Got this on Aug 5th, 2023.
upvoted 4 times
...
NotMeAnyWay
1 year, 5 months ago
For the first job, which consists of short-running tasks for a development environment, we can indeed use "User subscription and low-priority virtual machines". This choice allows us to take advantage of the cost benefits of low-priority VMs, as these tasks are short-running and the job completion time is flexible. For the second job, which consists of long-running MPI applications for a production environment, we should indeed use "Batch service and dedicated virtual machines". This choice ensures that the VMs are not preempted, which is important for long-running applications and a production environment where timely job completion is required.
upvoted 3 times
...
lombri
1 year, 7 months ago
Short-running tasks for development environment: Pool type: On-demand Node type: Low-priority VMs Explanation: Since the job type consists of short-running tasks for a development environment, it's recommended to use On-demand pool type and Low-priority VMs as they are the most cost-effective option. Long-running MPI applications for production environment: Pool type: Batch service Node type: Dedicated VMs Explanation: Since the job type consists of long-running MPI applications for a production environment, it's recommended to use Batch service pool type and Dedicated VMs as they provide better performance and reliability. Using Azure Hybrid Benefit will help to minimize compute charges.
upvoted 4 times
...
zellck
1 year, 9 months ago
1. User subscription and low-priority virtual machines 2. Batch service and dedicate virtual machines https://learn.microsoft.com/en-us/azure/machine-learning/how-to-use-low-priority-batch?tabs=cli Azure Batch Deployments supports low priority VMs to reduce the cost of batch inference workloads. Low priority VMs enable a large amount of compute power to be used for a low cost. Low priority VMs take advantage of surplus capacity in Azure. When you specify low priority VMs in your pools, Azure can use this surplus, when available. The tradeoff for using them is that those VMs may not always be available to be allocated, or may be preempted at any time, depending on available capacity. For this reason, they are most suitable for batch and asynchronous processing workloads where the job completion time is flexible and the work is distributed across many VMs. Low priority VMs are offered at a significantly reduced price compared with dedicated VMs.
upvoted 6 times
zellck
1 year, 9 months ago
Got this in Feb 2023 exam.
upvoted 8 times
...
zellck
1 year, 9 months ago
https://learn.microsoft.com/en-us/azure/batch/best-practices#pool-configuration-and-naming Pool allocation mode: When creating a Batch account, you can choose between two pool allocation modes: Batch service or user subscription. For most cases, you should use the default Batch service mode, in which pools are allocated behind the scenes in Batch-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 accounts are primarily used to enable a small but important subset of scenarios.
upvoted 8 times
...
...
VBK8579
1 year, 10 months ago
For the first job type: User subscription and low-priority virtual machines For the second job type: Batch service and dedicated virtual machines
upvoted 4 times
...
RandomNickname
1 year, 10 months ago
Given answer looks correct to me. First questions fairly straight forward Second see article; https://learn.microsoft.com/en-us/azure/batch/batch-mpi
upvoted 1 times
...
LeeVee
1 year, 10 months ago
The key here states that "The solution must minimize compute charges and leverage Azure Hybrid Benefit **whenever** possible. So Job1= low prio VMs, Job2 Batchw/dedicatedVMs. It's pointless to have dedicated VMs for a short-run job1.
upvoted 1 times
...
Malik007
1 year, 10 months ago
Appear in exam. Answer is correct
upvoted 4 times
...
rocroberto
1 year, 11 months ago
Probably because it is talking about dev rather prod, low priority/spot instances are not a bad idea ?
upvoted 1 times
...
in_da_cloud
2 years ago
I guess - the question is not complete, that's why - the answers are not logical: The first job type will consist of short-running tasks for a development environment: batch service and low-priority virtual machines You don't need reserved instances and can go for this option. the second productive job is a long runner and needs relatively much compute power Therefore you need user sub dedicated prio virtual machines: This option gives you the ability to reserve instances with relatively strong compute power.
upvoted 1 times
...
randomaccount123
2 years, 1 month ago
"User Subscription and Dedicated virtual machines" "User Subscription and Dedicated virtual machines"
upvoted 2 times
...
kay000001
2 years, 2 months ago
Answer should be - First Job: User Subscription and dedicated virtual machines. Second Job: Batch service and dedicated virtual machines. https://docs.microsoft.com/en-us/azure/batch/batch-quota-limit
upvoted 6 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 ...