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

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

List of questions

Question 161

Report
Export
Collapse

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?

Create a Power Automate flow to add attachments.

Create a Power Automate flow to add attachments.

Navigate to Table options and enable attachments.

Navigate to Table options and enable attachments.

Navigate to Column options and enable attachments.

Navigate to Column options and enable attachments.

Create relationships between the Doctor table and the Notes table.

Create relationships between the Doctor table and the Notes table.

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

asked 05/10/2024
Francinilo Leitao Ferreira
34 questions

Question 162

Report
Export
Collapse

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?

Use Web API and use a PicklistAttibuteMetadata request.

Use Web API and use a PicklistAttibuteMetadata request.

Use the Organization service and execute a RetrieveOptionSetRequest request.

Use the Organization service and execute a RetrieveOptionSetRequest request.

Use Web API and use an InsertOptionValue action.

Use Web API and use an InsertOptionValue action.

Use the Organization service and execute a RetrieveAttributeRequest request.

Use the Organization service and execute a RetrieveAttributeRequest request.

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

asked 05/10/2024
Vinayak H
35 questions

Question 163

Report
Export
Collapse

You have the following code:

Microsoft PL-400 image Question 22 106757 10052024010735000000

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

asked 05/10/2024
Mohamed Ramez Hamad
32 questions

Question 164

Report
Export
Collapse

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.

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.

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.

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

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

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

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

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

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

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

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

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

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

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:

Microsoft PL-400 image Question 23 explanation 106758 10052024010735000000

Reference:

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

asked 05/10/2024
antonio de simone
36 questions

Question 165

Report
Export
Collapse

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.

Share a view with users.

Share a view with users.

Share the custom connector with users.

Share the custom connector with users.

Share the flow with users.

Share the flow with users.

Share the environment by giving permissions to the users.

Share the environment by giving permissions to the users.

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

asked 05/10/2024
Abbas Ali
38 questions

Question 166

Report
Export
Collapse

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

Which expression should you use?

IsBlank

IsBlank

IsType

IsType

PlainText

PlainText

IsNumeric

IsNumeric

Suggested answer: D

Explanation:


asked 05/10/2024
Maureen Lande
44 questions

Question 167

Report
Export
Collapse

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?

Use the Ribbon Workbench.

Use the Ribbon Workbench.

Edit the SiteMap.

Edit the SiteMap.

Edit the XML for the form.

Edit the XML for the form.

Edit ISV.Config.

Edit ISV.Config.

Export the ribbon definitions.

Export the ribbon definitions.

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

asked 05/10/2024
Duc Hai
40 questions

Question 168

Report
Export
Collapse

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?

Create a Power Automate flow.

Create a Power Automate flow.

Configure field properties.

Configure field properties.

Add a business rule to the form.

Add a business rule to the form.

Add a formula to the LoanAmount field.

Add a formula to the LoanAmount field.

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/

asked 05/10/2024
Fu Sin
31 questions

Question 169

Report
Export
Collapse

You need to create the customer mobile app.

Which type of function expression should you use?

Filter

Filter

Find

Find

LookUp

LookUp

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

asked 05/10/2024
Tyler Sent
26 questions

Question 170

Report
Export
Collapse

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?

ReceiveMode

ReceiveMode

BrokeredMessage

BrokeredMessage

EventHubReceiver

EventHubReceiver

EventHubSender

EventHubSender

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

asked 05/10/2024
Eric Swisher
38 questions
Total 350 questions
Go to page: of 35
Search

Related questions