Microsoft PL-400 QUESTIONS AND ANSWERS |
VERIFIED AND WELL DETAILED ANSWERS | PLUS
RATIONALES | GUARANTEED PASS | LATEST EXAM
UPDATE | EXAM PREP | STUDY GUIDE | PRACTICE
TEST
Section 1: Create and Configure Power Apps (10 Questions)
1. A developer needs to create a canvas app that can run offline and sync data when a connection is restored.
Which data source should they use?
A. SharePoint List
,B. Microsoft Dataverse
C. SQL Server
D. Excel File
Answer: B
Rationale: Microsoft Dataverse has built-in offline capabilities for canvas apps through the "Offline profile"
feature. While other sources can be used with complex workarounds, Dataverse is the native and recommended
solution for robust offline scenarios.
2. Which Power Fx function is used to retrieve a single record from a data source based on a condition?
A. `Filter()`
B. `Search()`
C. `LookUp()`
D. `First()`
Answer: C
Rationale: `LookUp()` is designed to return the first record that matches a formula. `Filter()` returns a table of
records, `Search()` is for text-based searching within a table, and `First()` returns the first record of a table
without a specific condition.
,3. A developer wants to create a reusable component in a canvas app that includes a text input and a button.
The button's behavior should be customizable for each screen it's used on. What should they do?
A. Create a custom connector.
B. Create a component and add a custom property for the `OnSelect` behavior.
C. Copy and paste the controls onto each screen.
D. Use a Power Automate flow.
Answer: B
Rationale: Canvas app components allow for reusability. To make the button's behavior customizable, you
must expose its `OnSelect` property as a custom output property of the component.
4. What is the primary purpose of the `Concurrent()` function in Power Fx?
A. To run multiple formulas at the same time to improve performance.
B. To create a race condition for testing.
C. To ensure formulas run one after another in a specific order.
D. To connect to multiple data sources simultaneously.
, Answer: A
Rationale: The `Concurrent()` function allows multiple formulas that don't depend on each other to be evaluated
simultaneously. This is a performance optimization technique, especially useful for speeding up data calls on
screen load.
5. A model-driven app requires a custom button on the command bar that performs a specific action. What is
the recommended way to create this?
A. Add an HTML web resource to the form.
B. Use a JavaScript web resource with the Ribbon Workbench or the modern command designer.
C. Create a canvas app and embed it on the form.
D. Use a business rule.
Answer: B
Rationale: The standard method for customizing the command bar in model-driven apps is by using JavaScript
web resources that interact with the client API. The modern command designer or the community tool Ribbon
Workbench are used to define the button and associate the JavaScript.
6. In a canvas app, what does the `Patch()` function do?
A. It only creates new records.
VERIFIED AND WELL DETAILED ANSWERS | PLUS
RATIONALES | GUARANTEED PASS | LATEST EXAM
UPDATE | EXAM PREP | STUDY GUIDE | PRACTICE
TEST
Section 1: Create and Configure Power Apps (10 Questions)
1. A developer needs to create a canvas app that can run offline and sync data when a connection is restored.
Which data source should they use?
A. SharePoint List
,B. Microsoft Dataverse
C. SQL Server
D. Excel File
Answer: B
Rationale: Microsoft Dataverse has built-in offline capabilities for canvas apps through the "Offline profile"
feature. While other sources can be used with complex workarounds, Dataverse is the native and recommended
solution for robust offline scenarios.
2. Which Power Fx function is used to retrieve a single record from a data source based on a condition?
A. `Filter()`
B. `Search()`
C. `LookUp()`
D. `First()`
Answer: C
Rationale: `LookUp()` is designed to return the first record that matches a formula. `Filter()` returns a table of
records, `Search()` is for text-based searching within a table, and `First()` returns the first record of a table
without a specific condition.
,3. A developer wants to create a reusable component in a canvas app that includes a text input and a button.
The button's behavior should be customizable for each screen it's used on. What should they do?
A. Create a custom connector.
B. Create a component and add a custom property for the `OnSelect` behavior.
C. Copy and paste the controls onto each screen.
D. Use a Power Automate flow.
Answer: B
Rationale: Canvas app components allow for reusability. To make the button's behavior customizable, you
must expose its `OnSelect` property as a custom output property of the component.
4. What is the primary purpose of the `Concurrent()` function in Power Fx?
A. To run multiple formulas at the same time to improve performance.
B. To create a race condition for testing.
C. To ensure formulas run one after another in a specific order.
D. To connect to multiple data sources simultaneously.
, Answer: A
Rationale: The `Concurrent()` function allows multiple formulas that don't depend on each other to be evaluated
simultaneously. This is a performance optimization technique, especially useful for speeding up data calls on
screen load.
5. A model-driven app requires a custom button on the command bar that performs a specific action. What is
the recommended way to create this?
A. Add an HTML web resource to the form.
B. Use a JavaScript web resource with the Ribbon Workbench or the modern command designer.
C. Create a canvas app and embed it on the form.
D. Use a business rule.
Answer: B
Rationale: The standard method for customizing the command bar in model-driven apps is by using JavaScript
web resources that interact with the client API. The modern command designer or the community tool Ribbon
Workbench are used to define the button and associate the JavaScript.
6. In a canvas app, what does the `Patch()` function do?
A. It only creates new records.