New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-204 Exam - Topic 15 Question 50 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 50
Topic #: 15
[All AZ-204 Questions]

You are writing code to create and run an Azure Batch job.

You have created a pool of compute nodes.

You need to choose the right class and its method to submit a batch job to the Batch service.

Which method should you use?

Show Suggested Answer Hide Answer
Suggested Answer: C

A Batch job is a logical grouping of one or more tasks. A job includes settings common to the tasks, such as priority and the pool to run tasks on. The app uses the BatchClient.JobOperations.CreateJob method to create a job on your pool.

The Commit method submits the job to the Batch service. Initially the job has no tasks.

{

CloudJob job = batchClient.JobOperations.CreateJob();

job.Id = JobId;

job.PoolInformation = new PoolInformation { PoolId = PoolId };

job.Commit();

}

...


https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet

Contribute your Thoughts:

0/2000 characters
Mona
4 months ago
Wait, is E even a valid method? Sounds off to me.
upvoted 0 times
...
Vallie
4 months ago
D doesn't make sense for job submission, it's for enabling.
upvoted 0 times
...
Anna
4 months ago
C seems right, but isn't it a bit complicated?
upvoted 0 times
...
Heike
4 months ago
I think B is more about enabling jobs, not creating them.
upvoted 0 times
...
Izetta
5 months ago
Pretty sure it's A, that's the standard way to create a job.
upvoted 0 times
...
Dortha
5 months ago
I have a feeling that "EnableJob" methods are more about starting jobs rather than creating them, so I think it might be A or C.
upvoted 0 times
...
Mireya
5 months ago
I remember practicing something similar, and I feel like "CommitAsync" might be the right choice, but I can't recall the exact details.
upvoted 0 times
...
Deja
5 months ago
I think the method we need is related to creating a job, so maybe it's A, but I'm not entirely sure.
upvoted 0 times
...
Maryanne
5 months ago
I thought "CreateJob" was the way to go, but now I'm second-guessing myself. Did we cover the differences between these methods?
upvoted 0 times
...
Fausto
5 months ago
Hmm, I'm a bit confused by this one. I'll need to make sure I understand the process for re-establishing the trust relationship with the KMS server.
upvoted 0 times
...
Page
5 months ago
Ah, this is a tricky one. I think I remember seeing something about the controller VM memory, but I can't recall the exact amount. I'll have to think this through carefully.
upvoted 0 times
...
Meaghan
5 months ago
The Azure Monitor agent seems like the obvious choice here. It's designed specifically for collecting and sending performance and event log data to Azure Storage, which is exactly what the question is asking for. I feel pretty confident that this is the right answer.
upvoted 0 times
...
Lanie
5 months ago
I'm not totally confident on this one. I'll need to think it through step-by-step to make sure I don't make a silly mistake.
upvoted 0 times
...

Save Cancel