PL-400 Practice Test

PL-400 Practice Test practice questions, page 9 of 18, with answer review and explanations.

Question 41

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.

  1. Turn off the feature that controls record ownership across business units.
  2. Create a security role for BusA users in the parent business unit with privileges set to Business Unit level.
  3. Move BusA users to the parent business unit. Assign security roles with Parent Child Business Units privileges.
  4. Ensure security role privileges are set to User level.

Question 42

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.

Question 43

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?

  1. Sort(Accounts, 'Account Name', SortOrder.Descending)
  2. Sort(collAccounts, 'Account Name', SortOrder.Descending)
  3. Filter(Sort(Accounts, 'Account Name', SortOrder.Descending), IsBlank('Account Name') = false)
  4. collAccounts

Question 44

You are building a canvas app for a company to display data from a Microsoft SharePoint list named Tasks. The list stores project tasks, including due dates. A collection named projectTasks is already declared in the app. The company maintains over 100,000 tasks across projects When users navigate to the main screen of the app or manually refresh the list, the main screen must display a list of all tasks that are beyond their due date. Outbound network calls to SharePoint must be minimized. You need to implement the functionality. Which Power Fx formula should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Question 45

You are implementing security features for a Dataverse plug-in that you created. The plug-in creates a Note whenever a user updates an Account row in Dataverse. The plug-in has the following security requirements: • Users must have edit-only restrictions for existing accounts that are not their own. • The plug-in must always trigger successfully. • All necessary privileges must be assigned to users within an existing Microsoft Teams site. • The principle of least privilege must always be followed. You need to implement the security features. Which features should you implement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.