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…
Question
Options
- ACorrect
- BIncorrect
How the community answered
(46 responses)- A22% (10)
- B78% (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.
CORS is not used by server-side services like Azure Batch jobs for authenticating or authorizing write operations to Azure Storage containers.
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
Community Discussion
No community discussion yet for this question.