ExamGecko
Home Home / Microsoft / PL-400

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

Question list
Search
Search

List of questions

Search

Related questions











You are developing a Power Platform solution for a medical practice. You create a custom table named Doctors to record details about the doctors who work at the medical practice.

You must be able to attach a PDF copy of a doctor's medical license to the row for each doctor.

You need to configure the table.

What should you do?

A.

Create a Power Automate flow to add attachments.

A.

Create a Power Automate flow to add attachments.

Answers
B.

Navigate to Table options and enable attachments.

B.

Navigate to Table options and enable attachments.

Answers
C.

Navigate to Column options and enable attachments.

C.

Navigate to Column options and enable attachments.

Answers
D.

Create relationships between the Doctor table and the Notes table.

D.

Create relationships between the Doctor table and the Notes table.

Answers
Suggested answer: C

Explanation:

A file column is used for storing file data up to a specified maximum size. A custom or customizable table can have zero or more file columns plus a notes (annotation) collection with zero to one attachment in each note.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/file-attributes

You plan to populate records in a Common Data Service entity containing an option set field.

The source system has the label for the option set but not the corresponding integer value.

You are using a non .NET programming language.

You need to find the integer value for the option set.

What should you do?

A.

Use Web API and use a PicklistAttibuteMetadata request.

A.

Use Web API and use a PicklistAttibuteMetadata request.

Answers
B.

Use the Organization service and execute a RetrieveOptionSetRequest request.

B.

Use the Organization service and execute a RetrieveOptionSetRequest request.

Answers
C.

Use Web API and use an InsertOptionValue action.

C.

Use Web API and use an InsertOptionValue action.

Answers
D.

Use the Organization service and execute a RetrieveAttributeRequest request.

D.

Use the Organization service and execute a RetrieveAttributeRequest request.

Answers
Suggested answer: B

Explanation:

You can retrieve a global choice (option set) by name (label) using the RetrieveOptionSetRequest message.

Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/metadata-option-sets

You have the following code:

You have a contact record that uses the GUID 991bf2fd-d40c-4752-9984-26b7c0455b69.

You need to assign the contact record as the primary contact for an account when you create the account.

Which two code segments can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

var data = { "name": "Contoso account",

"primarycontactid": { "logicalname": "contact",

"id": "991bf2fd-d40c-4752-9984-26b7c0455b69" } };

A.

var data = { "name": "Contoso account",

"primarycontactid": { "logicalname": "contact",

"id": "991bf2fd-d40c-4752-9984-26b7c0455b69" } };

Answers
B.

var data = { "name": "Contoso account", "[email protected]":

"/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" };

B.

var data = { "name": "Contoso account", "[email protected]":

"/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" };

Answers
C.

var data = { "name": "Contoso account", "[email protected]":

"/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" };

C.

var data = { "name": "Contoso account", "[email protected]":

"/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" };

Answers
D.

var data = { "name": "Contoso account", "primarycontactid":

"/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" };

D.

var data = { "name": "Contoso account", "primarycontactid":

"/contacts(991bf2fd-d40c-4752-9984-26b7c0455b69)" };

Answers
Suggested answer: A, B

Explanation:

B: To associate new table records to existing table records, set the value of single-valued navigation properties using the

@odata.bind annotation

Example: var data =

{

"name": "Sample Account",

"[email protected]": "/contacts(465b158c-541c-e511-80d3-3863bb347ba8)"

}

A: For mobile clients in the offline mode, you cannot use the @odata.bind annotation, and instead have to pass a lookup

object (logicalname and id) pointing to the target record.

var data =

{

"name": "Sample Account", "primarycontactid":

{

"logicalname": "contact",

"id": "465b158c-541c-e511-80d3-3863bb347ba8"

}}

Note Syntax:

Xrm.WebApi.createRecord(entityLogicalName, data).then(successCallback, errorCallback); entityLogicalName: Logical name of the table you want to create. For example: "account".

Data: A JSON object defining the columns and values for the new table record.

Reference:

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

An organization uses Dynamics 365 Sales.

You plan to use a JavaScript web resources file in the Accounts form. The file has a dependency on two image web resource files and on the custom field new_placeofbirth in the Account entity.

You need to add the dependencies for the JavaScript file.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

Open the web resource file, add the two image web resources to the dependency's lists, and then add the custom field new_placeofbirth to the dependency's list.

A.

Open the web resource file, add the two image web resources to the dependency's lists, and then add the custom field new_placeofbirth to the dependency's list.

Answers
B.

From Settings, select Customizations and then select Customize the System.

B.

From Settings, select Customizations and then select Customize the System.

Answers
C.

In the Account form, select Form Properties, select Non-Event Dependencies, and then add the custom field new_placeofbirth.

C.

In the Account form, select Form Properties, select Non-Event Dependencies, and then add the custom field new_placeofbirth.

Answers
D.

Select Account, select Forms, and then select the Account form.

D.

Select Account, select Forms, and then select the Account form.

Answers
E.

From Web Resources, select the JavaScript file for the Account form and then select the JavaScript file.

E.

From Web Resources, select the JavaScript file for the Account form and then select the JavaScript file.

Answers
F.

In the Account form, select Form Properties and add the primary JavaScript file and the other two images web resources in Form Libraries.

F.

In the Account form, select Form Properties and add the primary JavaScript file and the other two images web resources in Form Libraries.

Answers
Suggested answer: B, C, D

Explanation:

Step 1 (B): From Settings, select Customizations and then select Customize the System.

Step 2 (D): Select Account, select Forms, and then select the Account form.

Step 3 (C): In the Account form, select Form Properties, select Non-Event Dependencies, and then add the custom field new_placeofbirth.

In our Dynamics 365 forms, there are measures we can take to ensure fields that are being used by JavaScript are not removed from forms. To prevent this from happening, we can go to Form Properties and select the Non-Event

Dependencies, and add the website field:

Reference:

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/web-resource-dependencies

You create a Power Automate flow that retrieves data from a proprietary database.

You need to ensure that the flow works for other users.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

Share a view with users.

A.

Share a view with users.

Answers
B.

Share the custom connector with users.

B.

Share the custom connector with users.

Answers
C.

Share the flow with users.

C.

Share the flow with users.

Answers
D.

Share the environment by giving permissions to the users.

D.

Share the environment by giving permissions to the users.

Answers
Suggested answer: B, C

Explanation:

Share the flow and the custom connector with users.

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

You need to configure that the mobile app meets the requirements for phone entries.

Which expression should you use?

A.

IsBlank

A.

IsBlank

Answers
B.

IsType

B.

IsType

Answers
C.

PlainText

C.

PlainText

Answers
D.

IsNumeric

D.

IsNumeric

Answers
Suggested answer: D

Explanation:


You are creating a model-driven app.

A JavaScript function must be manually initiated by the user from within an entity form.

You need to add a button to the form to run the JavaScript.

What should you do?

A.

Use the Ribbon Workbench.

A.

Use the Ribbon Workbench.

Answers
B.

Edit the SiteMap.

B.

Edit the SiteMap.

Answers
C.

Edit the XML for the form.

C.

Edit the XML for the form.

Answers
D.

Edit ISV.Config.

D.

Edit ISV.Config.

Answers
E.

Export the ribbon definitions.

E.

Export the ribbon definitions.

Answers
Suggested answer: A

Explanation:

How to add JavaScript to existing button in Ribbon WorkBench.

Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function.

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon

You are creating a canvas app for a bank. Consumers will enter information into the app when they apply for a loan.

The input form for the app must display fields to prompt the consumer for their first name, last name, address, and the requested loan amount.

Immediately after a consumer enters a value for the LoanAmount field, the background color for the column must change.

The background color for the column must change to red if a consumer enters a value of more than $5,000 and must turn green for values less than or equal to $5,000.

You need to implement the required behavior.

Which option should you use?

A.

Create a Power Automate flow.

A.

Create a Power Automate flow.

Answers
B.

Configure field properties.

B.

Configure field properties.

Answers
C.

Add a business rule to the form.

C.

Add a business rule to the form.

Answers
D.

Add a formula to the LoanAmount field.

D.

Add a formula to the LoanAmount field.

Answers
Suggested answer: D

Explanation:

Conditional formatting in Power Apps can be done with formulas.

Reference:

https://powerapps.microsoft.com/en-us/blog/conditional-formatting-in-powerapps/

You need to create the customer mobile app.

Which type of function expression should you use?

A.

Filter

A.

Filter

Answers
B.

Find

B.

Find

Answers
C.

LookUp

C.

LookUp

Answers
Suggested answer: C

Explanation:

The LookUp function finds the first record in a table that satisfies a formula. Use LookUp to find a single record that matches one or more criteria.

Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

You are creating a Power Automate flow.

You create an Azure Service Bus listener app that receives requests from a third-party application.

When the flow calls the message queue, it must delete the message as soon as it is read.

You need to ensure that the queue is cleared properly.

Which method or class should you use?

A.

ReceiveMode

A.

ReceiveMode

Answers
B.

BrokeredMessage

B.

BrokeredMessage

Answers
C.

EventHubReceiver

C.

EventHubReceiver

Answers
D.

EventHubSender

D.

EventHubSender

Answers
Suggested answer: A

Explanation:

ReceiveMode enumerates the values for the receive mode. The default is PeekLock.

Fields:

PeekLock: Specifies the PeekLock receive mode. This is the default value for ReceiveMode. ReceiveAndDelete: Specifies the ReceiveAndDelete receive mode.

Note: You can specify two different modes in which Service Bus receives messages.

Receive and delete. In this mode, when Service Bus receives the request from the consumer, it marks the message as being consumed and returns it to the consumer application. Peek lock.

Reference: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions

https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.receivemode

Total 350 questions
Go to page: of 35