Microsoft

PL-400 Free Practice Questions — Page 3

Question 14

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 for cloud-based systems typically require a standards-based, token-driven authentication mechanism that can be integrated programmatically. Generic OAuth authentication is designed for this purpose and is widely supported by custom connectors. The other options are user- or device-centric and are not suitable as connector-consumable authentication methods.

Question 15

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 15
Show Answer
Correct Answer: Export the solution from development as managed. Import the solution as an upgrade. Remove the unmanaged layer from the model-driven app in production.
Explanation:
Production contains unmanaged customizations made directly on top of a managed solution. Exporting a managed solution from development preserves proper ALM. Importing it as an upgrade allows schema changes such as column deletion without disrupting users. Removing the unmanaged layer ensures all production customizations are aligned with the managed solution from development, fully mirroring the development environment.

Question 16

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 16
Show Answer
Correct Answer: SortByColumns( AddColumns( Filter(Contacts, IsBlank(TextInput1.Text) || StartsWith('Last Name', TextInput1.Text)), "Full Salutation", Concatenate(Salutation, " ", 'Full Name') ), "Last Name", SortOrder.Ascending )
Explanation:
Filter returns all records when the text input is blank and filters by last name when populated. AddColumns creates the Full Salutation by combining Salutation and Full Name. SortByColumns orders the result alphabetically by surname.

Question 17

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: D
Explanation:
To post messages from Dataverse to Azure Service Bus using a plug-in package created with the Power Platform CLI, the plug-in must implement IServiceEndpointPlugin. This interface is specifically designed for plug-ins that write to service endpoints (Service Bus queues/topics or Azure Relay) and provides access to IServiceEndpointNotificationService, which is used to send the message payload. IPluginExecutionContext is used for accessing execution data inside a plug-in, not for integrating with Service Bus endpoints.

Question 18

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 18
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 is built in a canvas app component library. First create a blank canvas app to act as the library, then build the control as a component so it can be reused, and finally publish the canvas app so other apps can reference it and receive updates automatically.

Question 19

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 19
Show Answer
Correct Answer: Add **Created By** to the view columns Add **Description** to the Quick Find (Find by) columns
Explanation:
The missing creator email is resolved by including the Created By column in the view. Searches on description fail because the Description field is not configured as a Quick Find column, so it must be added to the Find by settings.

Question 20

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. basic authentication
B. Windows Active Directory authentication
C. certificate-based authentication
D. password less authentication
Show Answer
Correct Answer: A
Explanation:
Power Platform custom connectors support specific authentication types: No auth, Basic, API key, and OAuth 2.0. Windows AD, certificate-based, and passwordless authentication are not directly consumable by a custom connector. For a cloud-based ERP system requiring a compatible method, Basic authentication is a valid and supported choice.

Question 21

DRAG DROP - Telephone numbers for a company must have their values formatted by using JavaScript on the OnChange event. You need to create the JavaScript function. 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 21
Show Answer
Correct Answer: Get the execution context passed to the function. Use the getEventSource method to get the column name. Format and update the correct column.
Explanation:
OnChange handlers receive the execution context first. From it, getEventSource identifies the attribute that triggered the event, allowing the script to apply formatting and update that specific telephone column.

Question 22

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 22
Show Answer
Correct Answer: Modify knowing Id and Value1: Update Delete knowing Value1: RemoveIf
Explanation:
Update modifies a single known record (the unique Id identifies the row). RemoveIf deletes all records that satisfy a condition, which is required when multiple rows may share the same Value1.

Question 23

A company requires a plug-in that makes multiple requests to an external web service. The plug-in must not time out when the web service has issues or is slow to respond. You need to create the plug-in. What should you do?

A. Register the plug-in to run synchronously.
B. Set the HTTP connection KeepAlive property to false.
C. Register the plug-in by using isolation mode = none.
D. Assign the IOrganizationService object to a member variable.
Show Answer
Correct Answer: B
Explanation:
Dataverse plug-ins have strict execution time limits, especially for synchronous execution. When making multiple HTTP requests to an external service, leaving HTTP KeepAlive enabled can cause the plug-in thread to wait on reused connections if the external service is slow or unresponsive, increasing the likelihood of a timeout. Setting the HTTP connection KeepAlive property to false forces each request to use a new connection, reducing blocking behavior and helping prevent plug-in timeouts. The other options do not address external web service latency issues.

$19

Get all 406 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.