Microsoft Power Platform Developer - PL-400 Exam Practice Test
You need to synchronize pharmacy names and ensure that Dynamics 365 Sales data propagates correctly to the Cerner system.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Box 1: Use a Data Integration template in Power Apps.
Ensure that the names of the pharmacies are synced between the accounting and the customer management systems.
Note: The Data Integrator (for Admins) is a point-to-point integration service used to integrate data into Dataverse. It supports integrating data between Finance and Operations apps and Dataverse. It also supports integrating data into Finance and Operations apps and Dynamics 365 Sales.
The Data Integrator (for Admins) consists of the Data Integration platform, out-of-the-box templates provided by our application teams (for example, Finance and Operations apps and Dynamics 365 Sales) and custom templates created by our customers and partners.
Box 2: Create a workflow in Dynamics 365 Sales.
Account numbers should be entered automatically into the pharmaceutical system that is in a Cerner database and kept in sync.
Note: Start When: Use the options in this section to specify when a workflow should start automatically. You can configure a real-time workflow to be run before certain events. This is a very powerful capability because the workflow can stop the action before it occurs. The options are:
* Record is created
* Record status changes
* Record is assigned
* Record fields change
* Record is deleted
Reference:
https://docs.microsoft.com/en-us/ power-platform/admin/data-integrator
Topic 4, Proseware, IncBackground
Proseware, Inc. is an industry leading software company with several thousand employees. The company has had some trouble recruiting talented employees. Top-level candidates interview with the company but go on to work for competitors.
Feedback from candidates show that some offers were not accepted because the interview scheduling process was unpleasant. The company does not have a system to keep track of the candidates that were not selected.
Current environment
The recruiting process starts when an individual applies for a position on the company website. The individual may have found the position on their own, they may have been officially referred by an employee, or in some cases were contacted directly by a hiring manager and encouraged to apply.
Recruiters schedule an interview with a hiring manager and interviews with two senior team members. Each interview results in feedback about the candidate and a recommendation whether to hire or not.
The recruiting team manages all information by using a model-driven application.
The company has the following Microsoft Dataverse tables and columns:
* JobPosting
o Hiring Manager - lookup to SystemUser
o Recruiter Assigned - lookup to SystemUser
* Contact (Job Applicant)
o Contact identifier
o First name
o Last name
o Time-Zone Offset
o Person of Interest - Yes/No (default)
* Application proapplication
o Contact identifier, Contact - lookup to Contact
o Job Posting - lookup to JobPosting
o pro_recruiterassignedid
* Interview
o Application - lookup to Application o Job Posting - lookup to JobPosting o Recommend - Choice (Yes (0), No (1), and null (default) are the available values) o Person of Interest - Yes/No, No is the de ' aul: value
* Referral
o Contact - lookup to Contact o Referrer - lookup to SystemUser o Job Posting - lookup to JobPosting
* SystemUser
o Manger - lookup to SystemUser o Time-Zone Offset
* Recruiter
o Recruiter identifier o Recruiter name
Applications
There may be multiple applications associated with each job posting. Applications are linked to an employee record if an employee referred the applicant for a position. The same individual can be an applicant for multiple job postings.
Interviews
Each interview is performed by an employee and is related to a single application.
The interview scheduling process may force potential candidates to accept interviews at unusual times with the senior team members due to time-zone differences.
Interview scheduling
The system must provide recruiters with a list of team members and their time-zone information. You must create a Microsoft Power Apps Component Framework (PCF) control for the Job Application form to display a list of senior team members who report directly to a hiring manager.
* The control must display the current time in each team members local time.
* The control must be bound so that it minimizes the amount of code that must be written.
* You must display the list of team members and sort the list to show team members who reside in time zones closest to the applicant ' s time zone first.
You must develop a second PCF control that displays the time-zone name and current time on the Job Application form. You must display the data in the candidate ' s local time.
Historical information tracking
You must create a process to identify individuals as a person of interest that the company should consider hiring. You must assign each individual a score based on their past interactions.
* You must be able to determine the following information about a candidate:
o The number of interviews in the past two years and whether team members provided recommendations o The number of hiring manager referrals and employee referrals in the past two years o Whether the individual has any of the 12 designations or certifications that the company considers significant
* Only a single referral can be made per job application. The system must be able to support multiple referrals for a candidate.
* The system must track referrals even if an application is not completed.
Historical information scoring
The automated process must run weekly to assess all candidates. The process must also run automatically when historical information is updated. You must be able to perform scoring by selecting a command button on the contact form.
* This new command button must only be visible to employees who belong to a security role assigned named Recruiter. The command button must not be visible to anyone unless the contact form is in Update mode.
* A person of interest is defined as having a score of 15 or more based on the following historical information criteria:
o Each interview with a recommendation adds two to the score.
o Each interview without a recommendation subtracts two from the score.
o Each employee or manager referral adds one to the score.
o Each designation or certification adds one to the score.
* All scoring elements must be recalculated when changes occur. You must assign the score to the Person of Interest field.
* Values representing totals or scores must be stored in their own numeric fields.
* Plug-ins must be used to keep the Person of Interest field on active interview records associated with the Contact.
* Plug-ins registered on the update of the Person of Interest field must send an email notification when the candidate named in the email is a person of interest. Recruiters must receive the message when the field is updated on the Contact record.
* Interviewers must get an email notification when the Person of Interest field on the interview record is successfully updated.
Design guidelines
The following design guidelines must be followed:
* Schema changes must be made using the method requiring the least amount of storage to meet the requirement.
* Out-of-the-box functionality must be used when possible.
* Any code required to calculate scores must be able to be run from a single point.
* Email notifications need to be kept to a minimum.
Issues
* Recruiters report that the command button to score a candidate is not working. You debug the code and observe that the context input parameter is null.
* The system does not support associating designations and certifications with candidates.
* The value for the field used by the PCF control to display local time is saved to Microsoft Dataverse each time an active application record is opened.
* Interviewers report that they do not receive email notifications when interview records are created for an existing person of interest.
A company is building a new model-driven app.
The app must integrate with a number of on-premises and cloud solutions. No VPNs are in place.
You need to determine the method for each integration.
Which methods should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

The app must integrate with a number of on-premises and cloud solutions. No VPNs are in place.
You need to determine the method for each integration.
Which methods should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

Box 1: Webhook
With Dataverse, you can send data about events that occur on the service to a web app by using webhooks. A webhook is a lightweight HTTP pattern for connecting web APIs and services with a publish-and-subscribe model. Webhook senders notify receivers about events by making requests to receiver endpoints with some information about the events.
Webhooks enable developers and ISVs to integrate Dataverse data with their own custom code hosted on external services.
Box 2: Azure Service Bus
Service Bus provides a secure and reliable communication channel between Dataverse runtime data and external, cloud-based line-of-business apps. This capability is especially useful in keeping disparate Dataverse systems or other Dataverse servers synchronized with business data changes.
Box 3: Azure Event hub
Azure Event Hubs is a big data streaming platform and event ingestion service. It can receive and process millions of events per second. Data sent to an event hub can be transformed and stored by using any real-time analytics provider or batching/storage adapters.
Note: The most popular approaches in Dataverse involve webhooks, Azure messaging (Service Bus, Event Hubs), Azure Logic Apps, or Power Automate.
Reference:
https://docs. microsoft.com/en-us/powerapps/ma ker/common-data-service/why-cds-any-type-app
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item.
Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution: In form properties of the consolidated form, add the JavaScript library in the events tab and add the two custom fields to the dependent fields section of the non-event dependencies tab.
Does the solution meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A Common Data Service (CDS) environment has two custom entities named Building code and Work item.
Building code has a code date custom field and Work item has an elapsed time custom field. Construction workers use a consolidated custom form with data from both entities to fill.in their daily work items.
A JavaScript library is used with these custom entities and fields to apply complex logic.
You need to ensure that the JavaScript library continues to function as originally designed if other developers expand the environment.
Solution: In form properties of the consolidated form, add the JavaScript library in the events tab and add the two custom fields to the dependent fields section of the non-event dependencies tab.
Does the solution meet the goal?
Correct Answer: A
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
You develop the following JavaScript code for a web resource that will be used in a model-driven app.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.


For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

Box 1: Yes
Problem patterns: Web-use-async
There are multiple ways to interact with the server or request resources. Common approaches that allow for synchronous communications include the following (These scenarios should be avoided.):
* Usage of the XMLHttpRequest object passing in false for the value of the async parameter for the open function call var requestXhr = new XMLHttpRequest();
// Explicitly setting the async parameter to false or supplying a variable with a value of false will force this as a synchronous call.
requestXhr.open( ' GET ' , ' /test/test.txt ' , false);
Box 2: No
=== - Strict Equality Comparison is already used in the code.
Box 3: No
No debugger statement in the code, so web-remove-debug-script (avoid including debug script in non- development environments) does not apply.
Reference:
https://docs.microso ft.com/sr-cyrl-rs/powerapps/developer/model-driven-apps/best-practices/business-logic
/interact-htt p-https-resources-asynchronously
https://develop er.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality
A company designs a Microsoft Dataverse Custom API to encapsulate business logic in it The Custom API business logic must be encapsulated in a way that does not allow the business logic behavior to be modified or canceled.
You need to set the parameter value of the custom API so it cannot be customized.
Which parameter value should you set?
You need to set the parameter value of the custom API so it cannot be customized.
Which parameter value should you set?
Correct Answer: B
Vote an answer
You need to configure the trigger for account records.
Which expression should you use?
Which expression should you use?
Correct Answer: A
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A company requires custom validation when users save form records that use a synchronous plug-in.
If validation fails, a message that explains how to resolve the issue must be displayed on the form to the user.
You need to implement the custom validation.
Solution: Use the tracing service to log the message.
Does the solution meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
A company requires custom validation when users save form records that use a synchronous plug-in.
If validation fails, a message that explains how to resolve the issue must be displayed on the form to the user.
You need to implement the custom validation.
Solution: Use the tracing service to log the message.
Does the solution meet the goal?
Correct Answer: A
Vote an answer
You are creating a model-driven app for a company Sales team members will use the app to manage leads.
The app will interact with the Microsoft Dataverse Leads table. You must configure the app to meet the following requirements:
* If the estimated value for a lead is greater than $10,000 the app must
* Send an email to a manager.
Display a field named Sponsor on the lead form.
* If the estimated value for a lead is greater than $100.000 the app must:
* Send an email to the company s vice president.
* Display the following message as a notification while the lead record is open: High value customer, handle will care.
You need to configure the app. The solution must minimize the use of code.
Which options should you use? To answer, drag the appropriate options to the correct requirements. Each option may be used once, more than once or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

The app will interact with the Microsoft Dataverse Leads table. You must configure the app to meet the following requirements:
* If the estimated value for a lead is greater than $10,000 the app must
* Send an email to a manager.
Display a field named Sponsor on the lead form.
* If the estimated value for a lead is greater than $100.000 the app must:
* Send an email to the company s vice president.
* Display the following message as a notification while the lead record is open: High value customer, handle will care.
You need to configure the app. The solution must minimize the use of code.
Which options should you use? To answer, drag the appropriate options to the correct requirements. Each option may be used once, more than once or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:

You are creating various Power Apps apps for a company. Power Automate flows must connect securely to the following external systems:

You need to create custom connectors to access the external systems.
Which type of security should you use for the connectors?
To answer, drag the appropriate security types to the correct external systems. Each security type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE; Each correct selection is worth one point.


You need to create custom connectors to access the external systems.
Which type of security should you use for the connectors?
To answer, drag the appropriate security types to the correct external systems. Each security type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE; Each correct selection is worth one point.

Correct Answer:

Explanation:

You are implementing business logic for a model-driven app form by using multiple JavaScript web resources.
The business logic number of JavaScript files, and the columns that the business logic requires are expected to change frequently. Some form fields will not be visible. Occasionally non-developers will also make changes to the form.
You need to prevent columns referenced by the JavaScript from accidentally being removed from the form based.
What should you do?
The business logic number of JavaScript files, and the columns that the business logic requires are expected to change frequently. Some form fields will not be visible. Occasionally non-developers will also make changes to the form.
You need to prevent columns referenced by the JavaScript from accidentally being removed from the form based.
What should you do?
Correct Answer: C
Vote an answer
The following code updates the customer size code choice column on the Account table if the number of employees column value is greater than 100. Line numbering is provided for information only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.


For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Correct Answer:

Explanation:

A Power Platform solution includes the following Web API call:
GET
http://contoso.crm.dynamics.com/api/data/v9.1/RelationshipDefinitions?$select=SchemaName You need to explain what this line of code is doing.
What does the code do?
GET
http://contoso.crm.dynamics.com/api/data/v9.1/RelationshipDefinitions?$select=SchemaName You need to explain what this line of code is doing.
What does the code do?
Correct Answer: D
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).