exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 4 question 2 discussion

Actual exam question from Microsoft's AZ-305
Question #: 2
Topic #: 4
[All AZ-305 Questions]

You have an Azure subscription that contains a storage account.
An application sometimes writes duplicate files to the storage account.
You have a PowerShell script that identifies and deletes duplicate files in the storage account. Currently, the script is run manually after approval from the operations manager.
You need to recommend a serverless solution that performs the following actions:
✑ Runs the script once an hour to identify whether duplicate files exist
✑ Sends an email notification to the operations manager requesting approval to delete the duplicate files
✑ Processes an email response from the operations manager specifying whether the deletion was approved
✑ Runs the script if the deletion was approved
What should you include in the recommendation?

  • A. Azure Logic Apps and Azure Event Grid
  • B. Azure Logic Apps and Azure Functions
  • C. Azure Pipelines and Azure Service Fabric
  • D. Azure Functions and Azure Batch
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Eltooth
Highly Voted 2 years, 11 months ago
Selected Answer: B
Correct answer - B
upvoted 27 times
...
NotMeAnyWay
Highly Voted 1 year, 8 months ago
Selected Answer: B
B. Azure Logic Apps and Azure Functions Azure Logic Apps is a serverless solution that enables you to create and run workflows that integrate with various services and systems. You can use Azure Logic Apps to create a workflow that runs the PowerShell script once an hour using a time-based trigger, sends an email notification to the operations manager for approval, and processes the email response. Azure Functions is a serverless compute service that allows you to run event-driven code without having to manage infrastructure explicitly. You can use Azure Functions to host the PowerShell script, which can be triggered by the Logic App when the operations manager approves the deletion. Combining Azure Logic Apps and Azure Functions will provide the necessary components to meet the requirements of the scenario.
upvoted 11 times
...
Jack101089
Most Recent 4 days, 3 hours ago
Selected Answer: B
E. Find the cause of the duplicate files and fix it for once
upvoted 1 times
...
Thanveer
1 week, 4 days ago
Selected Answer: B
B. Azure Logic Apps and Azure Functions
upvoted 1 times
...
SeMo0o0o0o
3 weeks, 5 days ago
Selected Answer: B
B is correct
upvoted 1 times
...
Lazylinux
7 months, 3 weeks ago
Selected Answer: B
Given Answer is correct B as per https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions
upvoted 1 times
...
Panpoo
1 year ago
Selected Answer: B
Answer is B. Azure Logic Apps and Azure Functions
upvoted 2 times
...
VBK8579
1 year, 10 months ago
Selected Answer: B
Azure Logic Apps can be used to schedule the script to run once an hour, send an email notification to the operations manager requesting approval to delete the duplicate files, and process the email response from the operations manager specifying whether the deletion was approved. Azure Functions can be used to run the script that identifies and deletes the duplicate files, based on the response received from the operations manager. This way, the solution can be triggered only when the operations manager approves the deletion, providing an additional layer of control and security.
upvoted 2 times
...
OPT_001122
1 year, 10 months ago
Selected Answer: B
B. Azure Logic Apps and Azure Functions - do not get confused with azure batch
upvoted 1 times
...
itvinoth83
2 years ago
On the AZ 305 exam, 28/11/22
upvoted 11 times
...
Gor
2 years, 6 months ago
Selected Answer: B
B is correct. https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions
upvoted 3 times
...
dasEnder
2 years, 6 months ago
Selected Answer: B
I would like to add: as far as I know Logic Apps do not support PowerShell (the answer explanation says otherwise). Azure Pipelines is for CI (devOps). And batch is for HPC workloads. So B is the only viable option.
upvoted 5 times
...
datafypk
2 years, 7 months ago
was in exam 8 May 22
upvoted 4 times
...
Teringzooi
2 years, 7 months ago
Selected Answer: B
B is correct. https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions
upvoted 1 times
...
akkrishna22
2 years, 8 months ago
correct answer B - on exam 03-31-2022
upvoted 4 times
...
piyipo3349
2 years, 8 months ago
Selected Answer: B
Correct answer - B
upvoted 1 times
...
cega
2 years, 9 months ago
Correct answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago