nerdexam
Microsoft

AZ-204 · Question #167

A development team is preparing code that will work with the Azure Batch service. The code will be used to process videos and store them in a container in an Azure storage account. You need to…

The correct answer is B. Incorrect. Generating a CORS signature for an Azure storage container is not the correct mechanism to allow Azure Batch jobs to write processed videos to it. CORS is a browser security feature, whereas Batch jobs require authentication methods like Shared Access Signatures or Managed…

Submitted by chiamaka_o· Mar 30, 2026Develop Azure compute solutions

Question

A development team is preparing code that will work with the Azure Batch service. The code will be used to process videos and store them in a container in an Azure storage account. You need to ensure that the code will be able to store the processed videos from the Batch jobs to the storage container. You need to ensure code is in place to prepare the storage for the output videos. You propose code to generate a CORS signature for the storage container. Would this solution fulfil the requirements?

Options

  • ACorrect
  • BIncorrect

How the community answered

(46 responses)
  • A
    22% (10)
  • B
    78% (36)

Why each option

Generating a CORS signature for an Azure storage container is not the correct mechanism to allow Azure Batch jobs to write processed videos to it. CORS is a browser security feature, whereas Batch jobs require authentication methods like Shared Access Signatures or Managed Identities to interact with storage.

ACorrect

CORS is not used by server-side services like Azure Batch jobs for authenticating or authorizing write operations to Azure Storage containers.

BIncorrectCorrect

Generating a CORS signature is incorrect because CORS (Cross-Origin Resource Sharing) is a security mechanism for web browsers to allow cross-origin requests, which is irrelevant for server-side Azure Batch jobs writing output to an Azure Storage container. Batch jobs typically use Shared Access Signatures (SAS) or Managed Identities with appropriate Azure RBAC roles to authenticate and authorize access to storage.

Concept tested: Azure Batch storage access and authentication

Source: https://learn.microsoft.com/en-us/azure/batch/batch-job-out-put-files-to-azure-storage

Topics

#Azure Batch#blob storage output#CORS#storage container

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice