An application sometimes writes duplicate files to a storage account. A PowerShell script identifies and deletes duplicates, but it is run manually after approval. Recommend a serverless solution that performs these steps: runs the script hourly, sends an approval email to the operations manager, processes the manager's email response, and executes the deletion if approved.
Choose an answer
Tap an option to check your answer.
Correct answer: Azure Logic Apps and Azure Functions.
Why this is the answer
Azure Logic Apps and Azure Functions provide the best serverless solution. Azure Logic Apps excel at orchestration, workflow automation, and integrating with other services like email for approvals. It can be scheduled hourly, send approval emails, and process responses. Azure Functions are ideal for executing custom code, such as your PowerShell script, in a serverless manner. Azure Logic Apps and Azure Event Grid is incorrect because Event Grid is for reactive event routing, not for executing custom scripts or complex workflow orchestration with approvals. Azure Pipelines and Azure Service Fabric are incorrect because Pipelines are for CI/CD, and Service Fabric is a platform for microservices, neither of which are serverless solutions for this specific task. Azure Functions and Azure Batch is incorrect because Azure Batch is for large-scale parallel computing, which is overkill for running a single PowerShell script, and it lacks the built-in workflow and approval capabilities of Logic Apps.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed