ExamGecko
Home / Microsoft / PL-400 / List of questions
Ask Question

Microsoft PL-400 Practice Test - Questions Answers, Page 6

List of questions

Question 51

Report
Export
Collapse

HOTSPOT

You are examining code written by another developer that is not functioning correctly. There are no other JavaScript or business rules in use on the form.

This code is properly registered to the OnChange event of the telephone1 field on an account entity form. The main operation is to update the primary contact's phone number when the account phone number changes. The primary contact field is a lookup. (Line numbers are included for reference only.)

Microsoft PL-400 image Question 15 106702 10052024010735000000

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

NOTE: Each correct selection is worth one point.


Microsoft PL-400 image Question 51 106702 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 51 106702 10052024010735000

Explanation:

Box 1: Yes getFormTyp gets the form type for the record.

Form type 2 is Update.

Note: Syntax: formContext.ui.getFormType();

Return Value

Type: Number

Description: Form type. Returns one of the following values

RETURN VALUE

Value Form type

0 Undefined

1 Create

2 Update

3 Read Only

4 Disabled

6 Bulk Edit

Box 2: Yes

Xrm.WebApi.updateRecord Return Value: On success, returns a promise object containing the values specified earlier in the description of the successCallback parameter.

Note:

Syntax: Xrm.WebApi.updateRecord(entityLogicalName, id, data).then(successCallback, errorCallback);

Where errorCallback: A function to call when the operation fails. An object with the following properties will be passed:

errorCode: Number. The error code.

message: String. An error message describing the issue.

Box 3: No

It will displayed even if the update fails.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui/getformtype

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/updaterecord

asked 05/10/2024
Nicolas Del Borrello
41 questions

Question 52

Report
Export
Collapse

HOTSPOT

You have the following JavaScript function: (Line numbers are included for reference only.)

Microsoft PL-400 image Question 16 106703 10052024010735000000

The Annual Revenue view column is configured to call the function as shown in the Column Properties exhibit. (Click the Change Column Properties tab.)

Microsoft PL-400 image Question 16 106703 10052024010735000000

Users report that the icons that appear in the Active Accounts view are incorrect, as shown in the Active Accounts View exhibit. (Click the Active Accounts View tab.)

Microsoft PL-400 image Question 16 106703 10052024010735000000

You need to determine why the incorrect icons are being displayed.

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


Microsoft PL-400 image Question 52 106703 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 52 106703 10052024010735000

Explanation:

Box 1: No

parseFloat will return 'NaN' if it's not a number (null and undefined are NaNs).

Box 2: No

Box 3: Yes

Session.userLCID is the Locale ID for the ASP application.

Reference:

https://support.microsoft.com/en-us/help/229690/how-to-set-the-asp-locale-id-per-the-browser-s-language-settings

asked 05/10/2024
Katherine Messick
37 questions

Question 53

Report
Export
Collapse

HOTSPOT

You develop the following JavaScript code for a web resource that will be used in a model-driven app.

Microsoft PL-400 image Question 17 106704 10052024010735000000

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

NOTE: Each correct selection is worth one point.


Microsoft PL-400 image Question 53 106704 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 53 106704 10052024010735000

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.microsoft.com/sr-cyrl-rs/powerapps/developer/model-driven-apps/best-practices/business-logic/interact-http-https-resources-asynchronously

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality

asked 05/10/2024
karl hickey
42 questions

Question 54

Report
Export
Collapse

You need to handle errors in UpdateRecord.js.

Which code segment should you add at line UR06?

catch(error) {

alert("Caught error: " + error.message);}

catch(error) {

alert("Caught error: " + error.message);}

Exception exception = Server.GetLastError() ;

if(exception != null)}

Exception exception = Server.GetLastError() ;

if(exception != null)}

catch(exception e){

console.writeline(e)}

catch(exception e){

console.writeline(e)}

function (error){

console.log(error.message)}

function (error){

console.log(error.message)}

Suggested answer: A

Explanation:


asked 05/10/2024
Tuan Nguyen
41 questions

Question 55

Report
Export
Collapse

You need to configure the system to support automation for referrals.

What are two possible ways to achieve the goal? Each correct selection presents a complete solution.

NOTE: Each correct selection is worth one point.

Azure Function that uses the Discovery service

Azure Function that uses the Discovery service

workflow extension

workflow extension

Azure Function that uses a listener

Azure Function that uses a listener

Power Automate flow

Power Automate flow

Suggested answer: C, D

Explanation:

https://docs.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcherhttps://docs.microsoft.com/en-us/power-automate/

asked 05/10/2024
shafinaaz hossenny
37 questions

Question 56

Report
Export
Collapse

DRAG DROP

You need to determine how to implement rules for players who register for a soccer tournament.

Which business rule actions should you use? To answer, drag the appropriate business rule actions to the correct fields. Each business rule action 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.


Microsoft PL-400 image Question 56 106671 10052024010735000
Correct answer: Microsoft PL-400 image answer Question 56 106671 10052024010735000

Explanation:

Scenario:

Microsoft PL-400 image Question 3 explanation 106671 10052024010735000000

Weight: Set visibility action to No.

Age: Set Business Required action to Business required

Height: Set visibility action to No.

asked 05/10/2024
Francisco Rocha de Oliveira Junior
28 questions

Question 57

Report
Export
Collapse

You need to reduce response time for the information email on the website.

What should you create?

a flow that creates a SharePoint item for each email response

a flow that creates a SharePoint item for each email response

a flow that creates a notification in Microsoft Teams

a flow that creates a notification in Microsoft Teams

a Power Apps app that displays the number of email received in a dashboard

a Power Apps app that displays the number of email received in a dashboard

a logic app that moves all emails received to Azure Blob storage

a logic app that moves all emails received to Azure Blob storage

Suggested answer: B

Explanation:

Scenario:

Customers report that the response time from the information email listed on the Adventure Works Cycles website is greater than five days. Microsoft Teams is used for all collaboration.

Microsoft teams support email notifications.

Reference: https://support.microsoft.com/en-us/office/manage-notifications-in-teams-1cc31834-5fe5-412b-8edb-43fecc78413d

asked 05/10/2024
Carson Plunkett
50 questions

Question 58

Report
Export
Collapse

You are building a custom application in Azure to process resumes for the HR department.

The app must monitor submissions of resumes.

You need to parse the resumes and save contact and skills information into the Common Data Service.

Which mechanism should you use?

Power Automate

Power Automate

Common Data Service plug-in

Common Data Service plug-in

Web API

Web API

Custom workflow activity

Custom workflow activity

Suggested answer: A

Explanation:

Improve operational efficiency with a unified view of business data by creating flows that use Dataverse (Common Data Service has been renamed to Microsoft Dataverse as of November 2020).

For example, you can use Dataverse within Power Automate in these key ways:

Create a flow to import data, export data, or take action (such as sending a notification) when data changes.

Instead of creating an approval loop through email, create a flow that stores approval state in an entity, and then build a custom app in which users can approve or reject items.

Reference: https://docs.microsoft.com/en-us/power-automate/common-data-model-intro

asked 05/10/2024
Chris Morris
39 questions

Question 59

Report
Export
Collapse

A company manages capital equipment for an electric utility company. The company has a SQL Server database that contains maintenance records for the equipment.

Technicians who service the equipment use the Dynamics 365 Field Service mobile app on tablet devices to view scheduled assignments. Technicians use a canvas app to display the maintenance history for each piece of equipment and update the history.

Managers use a Power BI dashboard that displays Dynamics 365 Field Service and real-time maintenance data.

Due to increasing demand, managers must be able to work in the field as technicians.

You need to design a solution that allows the managers to work from one single screen.

What should you do?

Add the maintenance history app to the Field Service Mobile app.

Add the maintenance history app to the Field Service Mobile app.

Add the manager Power BI dashboard to the Field Service mobile app.

Add the manager Power BI dashboard to the Field Service mobile app.

Create a new maintenance canvas app from within the Power BI management dashboard.

Create a new maintenance canvas app from within the Power BI management dashboard.

Add the maintenance history app to the Power BI dashboard.

Add the maintenance history app to the Power BI dashboard.

Suggested answer: D

Explanation:

Power BI enables data insights and better decision-making, while Power Apps enables everyone to build and use apps that connect to business data. Using the Power Apps visual, you can pass context-aware data to a canvas app, which updates in real time as you make changes to your report. Now, your app users can derive business insights and take actions from right within their Power BI reports and dashboards.

Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual

asked 05/10/2024
Rick James
43 questions

Question 60

Report
Export
Collapse

A company has an application that provides API access. You plan to connect to the API from a canvas app by using a custom connector.

You need to request information from the API developers so that you can create the custom connector.

Which two types of files can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

YAML

YAML

WSDL

WSDL

OpenAPI definition

OpenAPI definition

Postman collection

Postman collection

Suggested answer: C, D

Explanation:

OpenAPI definitions or Postman collections can be used to describe a custom connector.

Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/faq

asked 05/10/2024
Miguel Pinar Guruceta
43 questions
Total 350 questions
Go to page: of 35
Search

Related questions