Microsoft
AZ-204 · Question #43
You are developing an Azure Batch solution to perform CPU intensive calculations. The calculations occur at a specific time each week and last for approximately one hour. Before any changes are…
The correct answer is B. batchClient.JobOperations.AddTask(JobId, tasks). https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
Submitted by cyberguy42· Mar 30, 2026Develop Azure compute solutions
Question
You are developing an Azure Batch solution to perform CPU intensive calculations. The calculations occur at a specific time each week and last for approximately one hour. Before any changes are made, a timer must be created to measure the initial duration. The timer must start before the first calculation is queued to run on the computer node. You need to implement the timer. Before which line should the timer be created?
Options
- ACloudJob = batchClient.JobOperations.CreateJob();
- BbatchClient.JobOperations.AddTask(JobId, tasks);
- CbatchClient.Utilities.CreateTaskStateMonitor().WaitAll(addedTasks, TaskState.Completed,
- Dusing (BatchClient batchClient = BatchClient.Open(cred))
How the community answered
(32 responses)- A6% (2)
- B78% (25)
- C3% (1)
- D13% (4)
Explanation
https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
Topics
#Azure Batch#task queuing#performance timing#compute nodes
Community Discussion
No community discussion yet for this question.