Microsoft

PL-400 Free Practice Questions — Page 3

Question 21

You are creating a canvas app that will create rows in a Dataverse table. When a row is created, additional business logic must be performed on a related row. A cloud flow triggered by the canvas app must perform the business logic. You need to create the cloud flow. Which trigger should you use?

A. Dataverse - When an action is performed
B. Manually trigger a flow
C. Dataverse - When a row is added
D. Power Apps (V2)
Show Answer
Correct Answer: D
Explanation:
Use the Power Apps (V2) trigger when a canvas app must directly invoke a cloud flow and optionally pass inputs such as the created row ID. The Dataverse 'When a row is added' trigger reacts to any row creation rather than being explicitly called by the app, 'When an action is performed' is for Dataverse actions, and 'Manually trigger a flow' is intended for manual execution.

Question 22

A company creates a custom connector for its cloud-based ERP system. The company requires an authentication method that can be consumed by the custom connector. You need to configure the authentication method. Which authentication method should you use?

A. two-factor authentication
B. Windows Active Directory authentication
C. biometric authentication
D. generic OAuth authentication
Show Answer
Correct Answer: D
Explanation:
Custom connectors commonly support generic OAuth 2.0 for authenticating to cloud-based services and APIs. Two-factor authentication and biometric authentication are user verification methods rather than connector authentication mechanisms, and Windows Active Directory authentication is not the standard choice for cloud custom connectors.

Question 23

DRAG DROP - You are making changes to a solution in a development environment. The solution is deployed as managed to the production environment. You observe that changes were made directly in the production environment, which is not in line with the software development lifecycle. You apply the changes made in the production environment to your development environment and delete a table column that is no longer required. You add several views to the model-driven app. You need to apply all changes in production to mirror development without impacting users. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Illustration for PL-400 question 23
Show Answer
Correct Answer: 1. Export the solution from development as managed. 2. Import the solution as an upgrade. 3. Remove the unmanaged layer from the model-driven app in production.
Explanation:
Use a managed solution upgrade to apply deletions (such as removing the table column). After the upgrade, remove the unmanaged layer created by direct production customizations so production matches development without manual edits.

Question 24

HOTSPOT - You are creating a canvas app for users to interact with contact data in Microsoft Dataverse. When users display contact data in the app, the following requirements must be met: • By default, all contact data must be displayed, unless data is entered into a text input control; if so, then data must be filtered based on the last name of the contact. • A new column must be added when retrieving the data source. The column must combine the Salutation and Full Name columns into a new column named Full Salutation. • All data must be sorted in alphabetical order based on the surname of the contact. You need to finalize the Microsoft Power Fx formula. How should you complete the code segment? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 24
Show Answer
Correct Answer: SortByColumns AddColumns Search Concatenate "lastname"
Explanation:
Use Search so a blank text returns all records and entered text searches the Last Name column. AddColumns creates the Full Salutation field using Concatenate(Salutation, " ", fullname). SortByColumns sorts by the lastname column in ascending order.

Question 25

A company plans to implement an integration between Microsoft Dataverse and Azure Service Bus. When an Account row is updated, if the Credit Limit is set to over $25,000, information about the row must post to an Azure Service Bus queue. The previous Credit Limit value must also be included. You use the Microsoft Power Platform CLI to create the plug-in package. You need to implement an interface. Which interface should you implement next?

A. IServiceEndpointNotificationService
B. IPluginExecutionContext
C. IWebHttpServiceEndpointPlugin
D. IServiceEndpointPlugin
Show Answer
Correct Answer: C
Explanation:
To create a custom Azure-aware plug-in package using the Power Platform CLI that receives the remote execution context from a Dataverse service endpoint, you implement the IWebHttpServiceEndpointPlugin interface. IServiceEndpointNotificationService is a service used by the out-of-box Azure-aware plug-in to post messages, not an interface you implement. IPluginExecutionContext is the execution context, and IServiceEndpointPlugin is not the interface used for custom plug-in packages. Sources: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/azure-integration

Question 26

You are testing security in a model-driven app. The business unit structure in the environment consists of a top-level business unit with three business units, named BusA, BusB, and BusC, directly under it. BusA users must be able to view records in only their business unit. You observe that BusA users have security roles from BusB and BusC assigned to them. The BusA users can view records in those business units. All security role privileges are set to the Business Unit level. You need to correct the problem with record access. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. Turn off the feature that controls record ownership across business units.
B. Create a security role for BusA users in the parent business unit with privileges set to Business Unit level.
C. Move BusA users to the parent business unit. Assign security roles with Parent Child Business Units privileges.
D. Ensure security role privileges are set to User level.
Show Answer
Correct Answer: A, B
Explanation:
With cross-business-unit record ownership enabled, users can be assigned security roles from multiple business units, which grants Business Unit-level access in each of those business units. To restore the requirement that BusA users only see BusA records, disable that feature if it is not needed and use a security role created in the parent business unit (then assign it to BusA users) with privileges at the Business Unit level so the role applies within the users' own business unit. Moving users to the parent BU or reducing privileges to User level would not meet the stated requirement.

Question 27

You are developing a canvas app that connects to Microsoft Dataverse. You add the Accounts table as a data source to the app. You implement a gallery that will display information from the Accounts table. The Accounts table is stored and cached locally as a collection named collAccounts. Data in the gallery must always display accounts that have a name value. The gallery uses the following Power Fx formula: You deploy the app to production. Users report that the expected number of Account rows in the app does not appear. You need to resolve the user issue. How should you modify the Power Fx formula?

A. Sort(Accounts, 'Account Name', SortOrder.Descending)
B. Sort(collAccounts, 'Account Name', SortOrder.Descending)
C. Filter(Sort(Accounts, 'Account Name', SortOrder.Descending), IsBlank('Account Name') = false)
D. collAccounts
Show Answer
Correct Answer: C
Explanation:
Using the Dataverse table directly avoids relying on a potentially incomplete local collection. Applying the filter ensures only records with a nonblank Account Name are displayed, while the sort preserves the required ordering.

Question 28

DRAG DROP - You are creating an input control to format telephone numbers for a canvas app. The control must be reusable in other canvas apps inside your company. Any updates must be able to be applied without editing the control in each canvas app. You need to create the control. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Illustration for PL-400 question 28
Show Answer
Correct Answer: Create a blank canvas app Create the control as a canvas app component Publish the canvas app
Explanation:
A reusable control with centralized updates should be built as a component in a component library (created as a blank canvas app) and then published so consuming apps receive updates without editing each app.

Question 29

DRAG DROP - You are creating a canvas app. The canvas app uses a data source in which the data structure consists of three columns named Id, Value1, and Value2. Id will always be unique, whereas Value1 and Value2 may not be. You must use Power Fx to perform the following operations: • Modify Value2 of a single row, knowing the Id and Value1. • Delete all rows with a specified Value1. You need to create the Power Fx commands. Which function should you use? To answer, move the appropriate functions to the correct operations. You may use each function once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 29
Show Answer
Correct Answer: Modify knowing Id and Value1: UpdateIf Delete knowing Value1: RemoveIf
Explanation:
Update replaces an entire record, while UpdateIf modifies specified fields of matching records. Since only Value2 should change, use UpdateIf with conditions on Id and Value1. To delete all rows matching a Value1, use RemoveIf.

Question 30

HOTSPOT - Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Background - City Power & Light is an energy and utilities company that has offices in Europe. The company subsidizes home improvements for domestic customers, to improve energy efficiency and to meet environmental commitments. The company also distributes and generates electricity for domestic and commercial customers. The company has 2,000 employees in multiple offices and in work-from-home locations. City Power & Light uses a team of schedulers, assessors, field engineers, and customer support agents for home improvements in a program named Get Energy Fit. Current Environment - Get Energy Fit Program - City Power & Light uses the following to manage the Get Energy Fit program: • The company uses a Microsoft Excel spreadsheet named Planning Hub on Microsoft SharePoint Online to store information about customer appointments, customer details, and customer eligibility in the program. • The company records sensitive customer information that includes the document identification numbers and the customer's financial information. • The company uses an assessor to verify customer eligibility in the program and to perform a suitability assessment. The assessor completes the suitability assessment by using a paper and clipboard at the customer property and enters the data to the Planning Hub after the assessment is completed. The assessor also uploads photographs to an on-premises document library. The assessor completes the eligibility assessment by using an application written in React. • Schedulers use Microsoft Outlook to schedule engineers and assessors for home improvement appointments. About 200 appointments are scheduled daily. • Employees for the company submit funding claims on behalf of the customer by uploading evidence and compliance checks information to an application named the Claim Submission Portal. Technical Environment - • Schedulers use Windows 11 desktop and laptop computers with the latest version of Microsoft Edge. • Assessors use iOS and Android tablet devices. • The Claim Submission Portal uses REST-based APIs for all operations and a dedicated testing environment. Authentication to the API is provided by using the following example header key and value pair: o Authentication: 2C8D41431415E429C7FC7A74D8315 • The company uses Microsoft Azure for hosting multiple applications. Requirements - Overview - City Power & Light plans to implement Microsoft Power Platform to improve the customer experience and increase delivery for the Get Energy Fit program. Business Requirements - • Only team leaders and senior managers should have access to read personally identifiable information (PII). • All development changes must be tested in a separate environment. • The company requires out-of-the-box solutions, when possible. • Sensitive credentials, such as user passwords and API secrets, must be stored securely. • The Claim Submission Portal must allow citizen developers to create automated solutions. • Customer and appointment information must be accessible to all applications. Planning Hub Application - The company is planning to replace the Planning Hub spreadsheet with a new application. The new application has the following requirements: • The application must support a component design that provides rapid changes requested by the schedulers. • The data model for the application must capture the following information: o Information about customers such as name, address, and other PII. o The data and time for an assessor's or engineer's appointment. Schedulers must be able to view all appointments without filters. o Records the details of the home improvements installed for the customer. o Contains all the information and evidence for submission to the Claim Submission Portal. • After an assessor uploads the funding application and all evidence after a home improvement has been complete, the company requires that the status of the application is set to Submit and should run the following: o Retrieve the details about the customer and the improvement installed. o Send an approval to a senior manager to review and approve in Microsoft Teams. o Upload the information to the API endpoint. o If the upload fails to complete, it should retry after a delay of 30 seconds up to three times. If an error occurs after three times, the application should send an email notification to the application support team. o Must record the status on the funding application. Suitability Assessment Tool - The company plans to implement a new application named the Suitability Assessment Tool for the assessors. The new application has the following requirements: • Must integrate with Microsoft Power Platform. • Assessors must be able to complete the eligibility assessment by using the Suitability Assessment Tool. The assessors must be able to upload photographs to the on-premises file share. • Must be developed by using modular components that can be used by other applications. • Must be optimized for use on tablet devices. • All changes to the application must be completed in the Suitability Assessment Tool solution. Reporting - The company has the following requirements for a reporting solution: • The data source for the reporting solution must support incremental refreshes. • The solution must report accurate data if an error occurs. Issues - • A recent audit identified that all users can access the PII in the Planning Hub spreadsheet. • After a developer deploys a change to the production environment, a user reports information is loaded incorrectly to the test system when processing a funding application. • After deploying a change to the new eligibility assessment tool in the development environment, you observe that the changes do not appear in the development environment. • After removing a column from the Planning Hub application and deploying the changes to the production environment, you observe that the column is still present. • You deploy the customizations for the data model. Users report that the email address of the user who created the appointment is missing and that searches on the description information do not return any results. You need to resolve the issues with the appointment data. What should you change on the view? To answer, select the appropriate interface components in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 30
Show Answer
Correct Answer: Table columns: Add/select Created By (related email field for creator). Find by: Edit find table columns and add Description.
Explanation:
To display the creator's email, include the Created By related information in the view. Quick Find only searches configured find columns, so add Description to the Find By columns to make description searches return results.

$19

Get all 409 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.