Microsoft Azure Architect Design (AZ-304) Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Azure Architect Design (AZ-304) Exam with comprehensive quiz questions designed to enhance your understanding and confidence. Master essential Azure concepts and strategies to excel on your test day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What serverless solution is best for running a script to identify and delete duplicate files in an Azure storage account?

  1. Azure Logic Apps and Azure Functions

  2. Azure Pipelines and Azure Service Fabric

  3. Azure Logic Apps and Azure Event Grid

  4. Azure Functions and Azure Batch

The correct answer is: Azure Logic Apps and Azure Functions

The best serverless solution for running a script to identify and delete duplicate files in an Azure storage account involves using Azure Logic Apps and Azure Functions. This combination provides an efficient way to automate the workflow without the need for managing infrastructure. Azure Functions allows you to run lightweight code in response to events (such as file uploads or scheduled triggers). It is well-suited for executing scripts that perform operations on files stored in Azure. In this case, a function can be designed to scan the storage account for duplicates and delete them as needed. Moreover, Azure Functions supports various programming languages, making it flexible for developers. Azure Logic Apps serves as an orchestration layer and enables the automation of workflows by integrating various Azure services and external systems. It can be set up to trigger the Azure Function when relevant events occur, such as a file being added to the storage account. This helps streamline the process of identifying duplicate files and executing the function to handle them automatically. In contrast, the other options do not align as well with the requirements for a serverless solution for this specific task. Azure Pipelines is primarily used for CI/CD workflows, making it less suited for the task of file management. Azure Service Fabric is focused on building and managing microservices applications, which adds