AZ-204 · Question #167
AZ-204 Question #167: Real Exam Question with Answer & Explanation
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 Identi
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
Explanation
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.
Common mistakes.
- A. CORS is not used by server-side services like Azure Batch jobs for authenticating or authorizing write operations to Azure Storage containers.
Concept tested. Azure Batch storage access and authentication
Reference. https://learn.microsoft.com/en-us/azure/batch/batch-job-out-put-files-to-azure-storage
Community Discussion
No community discussion yet for this question.