BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-204 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:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel