Microsoft

PL-400 Free Practice Questions — Page 4

Question 31

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 authentication methods such as No authentication, Basic, API key, OAuth 2.0, and some Azure AD flows depending on the connector. Among the provided options, Basic authentication is the supported authentication method for consuming a custom connector. Windows Active Directory authentication, certificate-based authentication, and passwordless authentication are not direct custom connector authentication types.

Question 32

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 32
Show Answer
Correct Answer: 1. Get the execution context passed to the function. 2. Use the getEventSource method to get the column name. 3. Format and update the correct column.
Explanation:
In Dynamics 365 client scripting, an OnChange handler receives the execution context. From it, getEventSource() identifies the attribute that triggered the event, allowing the script to format and update that field.

Question 33

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:
Set the HTTP connection KeepAlive property to false when making outbound HTTP requests from a Dataverse/Dynamics plug-in. This avoids persistent connections that can contribute to delays or hangs when the external service is slow or has connection issues. The other options do not address outbound HTTP timeout behavior: synchronous execution increases timeout risk, isolation mode is unrelated, and storing IOrganizationService in a member variable is not appropriate for this concern.

Question 34

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 deploy the changes and resolve the issue with the Planning Hub application. What should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for PL-400 question 34
Show Answer
Correct Answer: Solution to deploy: Appointment data How to export: Export the unmanaged solution as managed Remove the column after the deployment: Upgrade
Explanation:
Deploy the Planning Hub (appointment/data model) solution as a managed solution to higher environments. To remove components such as a deleted column from a managed solution in production, deploy using a solution Upgrade, which removes deleted components.

Question 35

You are creating a .NET application to load a large volume of data into a Dataverse table with one default column value. A synchronous plug-in already sets the same default column value for new rows in the table. To speed up the process, you must disable the plug-in during the data load. The data load must run during business hours. The load must not affect rows users may be creating. You need to perform the operations. What are two possible ways to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. Send the BypassCustomPluginExecution as an optional parameter with the create request.
B. Send the SuppressCallbackRegistrationExpanderJob as an optional parameter with the request.
C. Disable the plug-in step prior to starting the data load.
D. Set the BypassPluginExecution property on the CrmServiceClient.
Show Answer
Correct Answer: A, D
Explanation:
Use request-level or client-level plug-in bypass so only the data-load operations skip synchronous custom plug-ins. BypassCustomPluginExecution can be sent as an optional request parameter, and CrmServiceClient supports a BypassPluginExecution property to apply the bypass to requests. Disabling the plug-in step would also affect interactive users during business hours, violating the requirement. SuppressCallbackRegistrationExpanderJob suppresses callback/flow processing rather than bypassing synchronous plug-ins.

Question 36

A company employs four Microsoft Power Platform developers. Each developer has an individual development environment. Each development environment is refreshed regularly from source control as a managed layer. The developers must implement their changes in isolation within these environments. Development work must be merged into a base solution within a shared sandbox environment. You need to ensure work carried out by each developer is deployed into the main solution in the sandbox environment. What should you do?

A. Copy each development to the shared environment each day.
B. Perform all customizations in the shared environment.
C. Export each developer's solution as managed.
D. Export each developer's solution as unmanaged.
Show Answer
Correct Answer: D
Explanation:
To merge development work into a shared base solution, each developer should export their changes as an unmanaged solution. Unmanaged solutions are intended for development and allow customizations to be merged and further modified in the shared sandbox. Managed solutions are for deployment to downstream environments and cannot be merged into the main development solution.

Question 37

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 funding application issue. Which component should you use?

A. secure config
B. unsecure config
C. environment variable
D. settings
Show Answer
Correct Answer: C
Explanation:
Use an environment variable to store configuration values that differ between development, test, and production environments, such as API endpoints or other deployment-specific settings. This prevents production deployments from continuing to reference test configuration and supports ALM best practices. Secure/unsecure configuration applies to plug-ins, and settings are not the recommended solution for environment-specific configuration.

Question 38

You plan to create a Microsoft Power Apps Component Framework (PCF) code component for a record form in a model-driven app. The code must be able to read the record's Id column. You need to configure the manifest. Which solution should you use?

A. resources
B. property
C. feature-usage
D. type-group
Show Answer
Correct Answer: B
Explanation:
The manifest must declare a property to pass data between the host app and the PCF component. To read the current record's Id (or another field/context value exposed through a bound/input property), you configure a property in the manifest. The other elements serve different purposes: resources lists component assets, feature-usage declares platform features, and type-group defines reusable type groupings.

Question 39

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. Assign the IOrganizationService object to a member variable.
B. Register the plug-in to run synchronously.
C. Register the plug-in step once for each web service request.
D. Set the HTTP connection timeout value explicitly to limit how long each connection can remain open.
Show Answer
Correct Answer: D
Explanation:
Use explicit HTTP timeouts for outbound web service calls so the plug-in fails fast rather than waiting indefinitely on slow or unresponsive external services. The other options do not address outbound HTTP timeout behavior: storing IOrganizationService is unrelated, synchronous registration can increase timeout risk, and registering separate steps per request does not prevent web service delays.

Question 40

DRAG DROP - You are the lead Microsoft Power Platform developer for a company. Your team of developers are unable to work on the same components at the same time. The developers have the following requirements: • A mechanism to automatically push individual changes they make into the existing environments for testing. • A dedicated environment for all development work. • The ability to run, but not create, deployments from directly within Microsoft Power Platform. You need to implement a process to manage the development activities. Which four 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 40
Show Answer
Correct Answer: Enable managed environments. Create developer environments. Create a Microsoft Power Platform pipeline. Assign developers to the Deployment Pipeline User role.
Explanation:
Power Platform pipelines require managed environments. Developers need dedicated developer environments. Create a Power Platform pipeline to automate promotion between environments. The Deployment Pipeline User role allows developers to run deployments but not create/manage pipelines.

$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.