You are developing a software solution for an autonomous transportation system. The solution uses large data sets and Azure Batch processing to simulate navigation sets for entire fleets of vehicles.
You need to create compute nodes for the solution on Azure Batch.
What should you do?
A. In the Azure portal, create a Batch account.
B. In a .NET method, call the method: BatchClient.PoolOperations.CreateJob
C. In Python, implement the class: JobAddParameter
D. In Azure CLI, run the command: az batch pool create
E. In a .NET method, call the method: BatchClient.PoolOperations.CreatePool
F. In Python, implement the class: TaskAddParameter
G. In the Azure CLI, run the command: az batch account create
Correct Answer: B
Explanation/Reference:
Explanation:
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.
Note:
Step 1: Create a pool of compute nodes. When you create a pool, you specify the number of compute nodes for the pool, their size, and the operating system. When each task in your job runs, it’s assigned to execute on one of the nodes in your pool.
Step 2: Create a job. A job manages a collection of tasks. You associate each job to a specific pool where that job’s tasks will run.
Step 3: Add tasks to the job. Each task runs the application or script that you uploaded to process the data files it downloads from your Storage account. As each task completes, it can upload its output to Azure Storage.
Incorrect Answers:
C, F: To create a Batch pool in Python, the app uses the PoolAddParameter class to set the number of nodes, VM size, and a pool configuration.
E: BatchClient.PoolOperations does not have a CreateJob method.
References:
https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
https://docs.microsoft.com/en-us/azure/batch/quick-run-python
Microsoft AZ-204: Developing Solutions for Microsoft Azure
Free dumps for AZ-204 in PDF format also you can read online.
High quality AZ-204 PDF and software. VALID exam to help you pass.
|
|
D and E both are correct.
1. create pool using Azure CLI:
Az batch pool create
https://docs.microsoft.com/en-us/cli/azure/batch/pool?view=azure-cli-latest
2. Create Pool using .Net API
BatchClient.PoolOperations.CreatePool()
Answer is D and E.
E seems right, BatchClient.PoolOperations.CreatePool is the method where # of nodes can be set
E is correct – software solution (.NET code) and CreatePool is for compute nodes
If BatchClient.PoolOperations does not have a CreateJob method B cannot be correct as:
B. In a .NET method, call the method: BatchClient.PoolOperations.CreateJob.
I think correct is D, but not 100%