PL-400 practice question 16 of 35

You need to identify the Azure service to use for the Planning Hub application. Which service should you use?

Full set: 391 questions

Domain Implement Power Automate flows

Answer options
A: Logic App
B: Function Correct answer
C: Service Bus
D: Key Vault
Correct Answer:
B. Function
Explanation

An Azure Function is a serverless compute service designed to run custom, event-driven code without managing underlying infrastructure. For a "Planning Hub application," which implies a need for complex, potentially long-running business logic or calculations that should be offloaded from Dataverse, an Azure Function is the most appropriate choice. It allows developers to write code in languages like C# or Python to perform intensive processing tasks. This aligns with the common architectural pattern of using Azure services to extend the capabilities of the Power Platform for computationally heavy operations, ensuring the core Dataverse environment remains performant and responsive.

Why Incorrect

A. Logic App: Primarily used for workflow orchestration and integration using pre-built connectors, not for executing complex, custom-coded business logic.
C. Service Bus: A messaging service for decoupling applications. It queues data for processing but does not execute the processing logic itself.
D. Key Vault: A service for securely storing secrets, keys, and certificates. It does not provide any application execution or compute capabilities.

References

1. Microsoft Learn, "Introduction to Azure Functions": This module describes Azure Functions as "an event-driven, serverless compute platform" ideal for scenarios like "processing data, integrating systems, working with the internet-of-things (IoT), and building simple APIs and microservices." This directly supports its use for a processing hub.

Reference: Microsoft Learn, Module: "Introduction to Azure Functions", Unit 2: "What is Azure Functions?".

2. Microsoft Learn, "Choose an Azure compute service": This documentation compares various Azure compute options. It positions Azure Functions as the solution for "executing a piece of logic in response to an event" and when you need to "run a small piece of code." This contrasts with Logic Apps, which are for orchestrating business processes.

Reference: Microsoft Learn, Module: "Core Cloud Services - Azure compute options", Unit 5: "Choose an Azure compute service".

3. Microsoft Docs, "Extend your app with custom code using Azure Functions": This documentation explicitly details the architectural pattern of using Azure Functions to extend Power Platform solutions. It states, "Azure Functions lets you run your custom code in a serverless environment without having to first create a VM or publish a web application." This is the exact pattern a "Planning Hub" would follow.

Reference: Microsoft Docs, Power Apps documentation, Section: "Extend your app with custom code using Azure Functions".

Scroll to Top