ExamGecko
Home Home / Microsoft / PL-400

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

Question list
Search
Search

List of questions

Search

Related questions











DRAG DROP

You are creating a model-driven app.

Users need to see only the entities in the app navigation that are relevant to their role and their method of accessing the app.

You need to restrict entities on the sub-areas in the SiteMap.

Which properties should you use? To answer, drag the appropriate properties to the correct requirements. Each property 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.


Question 131
Correct answer: Question 131

Explanation:

Box 1: Privileges

Privileges: This defines whether a subarea is displayed based on privileges available in any security roles that are assigned to the user.

Box 2: SKU

SKUs: Select the versions of Dynamics 365 that display this subarea.

Box 3: Client

Client: Select the type of client that displays this subarea.

Incorrect Answers:

Offline Availability: Select this check box to make this subarea available to users when they are offline in Dynamics 365 for Outlook.

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-site-map-app

HOTSPOT

You are troubleshooting Power Apps solutions.

You need to determine the cause for the identified issues.

What is the root cause for each issue? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 132
Correct answer: Question 132

Explanation:

Box 1: A canvas app in the first solution has errors.

Failures that occur during background processing of the analysis will fail with 'Couldn't be completed' status and return an error message in the Power Apps portal as well as send email notification to the requestor.

Selecting the portal notification will link to this page of common issues for further troubleshooting. If one of the provided common issues does not resolve the problem, a reference number is also returned. Provide this reference number to Microsoft Support for further investigation.

Box 2: The code uses the following rule: web-use-strict-mode

web-use-strict-mode is able to throw a SyntaxError before the script is executing.

Example:

The reason is JavaScript lets you compare different variable types but this can have unexpected results, so by using the strict === it compares the same type and won't have unexpected results

this gets a warning

entity.field == "Line1"

Incorrect Answers:

web-avoid-eval: The eval() function evaluates JavaScript code represented as a string.

web-avoid-modals: Avoid using modal dialogs.

web-remove-debug-script: Avoid including debug script in non-development environments.

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/common-issues-resolutions-solution-checker

HOTSPOT

You are creating a model-driven app to track the time that employees spend on individual projects.

You need to configure the app according to the company's requirements.

Which components should you configure? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 133
Correct answer: Question 133

Explanation:

Box 1: View

Box 2: Quick Create

With quick create forms, your app can have a streamlined data entry experience with full support for logic defined by form scripts and business rules.

By default only these system tables have quick create forms: account, campaign response, 1case, competitor, contact, lead, opportunity.

Incorrect Answers:

Quick View A quick view form can be added to another form as a quick view control. It provides a template to view information about a related table row within a form for another table row. This means your app users do not need to navigate to a different row to see the information needed to do their work.

Reference:

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

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/create-edit-quick-create-forms

HOTSPOT

Fabrikam, Inc, has two divisions as shown in the Business Unit exhibit. (Click the Business Unit tab.)

Fabrikam Residences rents units short term to clients.

Fabrikam Property Management deals with the maintenance of the units and manages the contractors who perform the maintenance.

Clients and contractors are both stored in the Contact entity.

The manager of the Property Management business unit is a member of a Fabrikam business unit, which has the root security role as shown in the Security Role exhibit. (Click the Security Role tab.)

The manager cannot see the contact record shown in the Contact exhibit. (Click the Contact tab.)

You need to ensure that the manager can view contact records owned by someone in the Residences business unit.

For each of the following statements, select Yes if the statement achieves the goal. Otherwise, select No.


Question 134
Correct answer: Question 134

Explanation:

Box 1: Yes

Change it to Direct User/Basic access level and Team privileges. This creates a security role with team member's privilege inheritance.

Note: For roles assigned to teams with Basic-level access user privilege, the role's inheritance configuration also comes into play. If the team has the Member's privilege inheritance set to Team privileges only, then the user will only be able make use of that privilege for records owned by the team.

Box 2: No

The manager of the Property Management business unit is already a member of a Fabrikam business unit, which has the root security role

Box 3: Yes

Reference:

https://docs.microsoft.com/en-us/power-platform/admin/security-roles-privileges

HOTSPOT

A company has a development environment and a production environment. The production environment has several third-party managed and unmanaged solutions that made changes to the Contact main form.

You create a new solution in the development environment. You add the Contact entity and the Contact main form to the solution. You create a custom field on the Contact entity.

What happens when you perform these actions and import the solution into the production environment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 135
Correct answer: Question 135

Explanation:

Box 1: The field is appended to the end of the existing section.

When you add new elements to a form that is to be merged, we recommend that you include your new elements within new container elements (tabs or sections). Additions to any container will be appended to the end of the container. For example, fields added to a section will be positioned at the end of the section.

Box 2: The field is added in a new section.

Box 3: The field is inserted in the middle of the existing section

Reference:

https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg309329(v=crm.8)

HOTSPOT

You are developing a model-driven app for the purchasing department of an organization. You provision a new test environment and a security role. You select users to test the apps and assign the users to a security group named TestSG.

If the tests succeed, a manager will perform additional testing in the production environment and then publish the app for the organization's purchasing department.

You need to ensure that the test and production environments are configured correctly.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 136
Correct answer: Question 136

Explanation:

Box 1: Set the test environment security group to TestSG and assign test users the app security role.

PowerApps apps use role-based security for sharing. The fundamental concept in role-based security is that a security role contains privileges that define a set of actions that can be performed within the app. All app users must be assigned to one or more predefined or custom roles.

Box 2: Assign the manager the app security role.

Box 3: Set the production environment security group to TestSG

Box 4: Add all users in the department to the TestSG security group.

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/share-model-driven-app

HOTSPOT

A company uses Dynamics 365 Sales and the Microsoft Online Services portal.

The multi-select OptionSet field data type is not supported in the portal.

You need to copy the selected field value to the text field.

How should you configure the Organization service request? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 137
Correct answer: Question 137

Explanation:

Box 1: Yes If you are creating an attribute editor you will need to retrieve entity data that has been saved but not published. For other scenarios you will want to only retrieve published metadata.

Set this value to true to include unpublished changes, as it would look if you called publish.

Set this value to false to include only the currently published changes, ignoring the changes that haven't yet been published.

Box 2: AttributeMetadata

AttributeMetadata class is returned in the RetrieveAttributeResponse.

Reference:

https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.retrieveattributerequest.retrieveasifpublished?view=dynamics-general-ce-9

https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.metadata.attributemetadata?view=dynamics-general-ce-9

HOTSPOT

You open a canvas app in edit mode. A warning message displays as shown in the graphic.

Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Question 138
Correct answer: Question 138

Explanation:

Box 1: Navigate to Connections and add a new connection

Error message: This app is using a connector for the Common Data Service will not be supported past Oct 1, 2020.

To convert your app that uses the Common Data Service 365 connector, you'll need to remove and add the connections to your data sources.

Box 2: Gallery1

Reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/use-native-cds-connector

An organization uses Dynamics 365 Sales. You plan to add a custom button to the app ribbon.

You need to ensure that the button displays only when conditions specified by business rules are met.

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

NOTE: Each correct selection is worth one point.

A.

gridContext.refresh();

A.

gridContext.refresh();

Answers
B.

formContext.ui.refreshRibbon(refreshAll);

B.

formContext.ui.refreshRibbon(refreshAll);

Answers
C.

formContext.data.refresh(save).then(successCallback, errorCallback);

C.

formContext.data.refresh(save).then(successCallback, errorCallback);

Answers
D.

formContext.ui.refreshRibbon();

D.

formContext.ui.refreshRibbon();

Answers
E.

formContext.getControl(arg).refresh();

E.

formContext.getControl(arg).refresh();

Answers
Suggested answer: B, D

Explanation:

B: formContext.ui.refreshRibbon(refreshAll);

Causes the ribbon to re-evaluate data that controls what is displayed in it.

Indicates whether all the ribbon command bars on the current page are refreshed. If you specify false, only the page-level ribbon command bar is refreshed. If you do not specify this parameter, by default false is passed.

Remarks: This function is typicaly used when a ribbon (RibbonDiffXml) depends on a value in the form. After your code changes a value that is used by a rule, use this method to force the ribbon to re-evaluate the data in the form so that the rule can be applied.

D: If role is there - just refresh the ribbon to see the button

if (isButtonEnabled) {

formContext.ui.refreshRibbon();

}

},

Reference:

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

https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/302049/show-hide-button-bases-on-different-criteria/871674

HOTSPOT

A fine arts school uses a custom canvas application based on the Common Data Service (CDS) platform.

Artists experience errors on their Artist canvas app and delays when switching pages.

You need to identify the root causes of these issues.

Which troubleshooting methods should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 140
Correct answer: Question 140

Explanation:

Box 1: Site Map validation

When you validate the app, the app designer canvas shows you details about the assets that are missing.

In the app designer, select Validate.

A notification bar appears and shows you whether the app has any errors or warnings. The notification bar shows warnings in cases where, for example, an entity has no forms or views, or the app doesn't contain any components. An error might appear if a site map isn't configured for the app.

Incorrect Answers:

With Solution checker, you can inspect your code against a set of best practice development rules specific to customizing and extending the CDS for Apps platform. Get access to rich detailed reports listing issues identified, severity, locations, and sometimes the line code, with linkage to detailed prescriptive guidance on how to fix the problem.

PowerApp Checker checks your solution for any usage of code that was deprecated or any performance or security issues in the code. It checks the plugin code as well as web resources.

Box 2: Service Performance in Power Apps Analytic

Regarding Microsoft Power Apps Canvas Driven Apps: for reviewing performance bottlenecks and API calls, admins can leverage the Service Performance report for connection health. Admins can gain insights into the least and best performing services, the mean response time and success rate for connectors and the 50th, 75th and 95th percentile markers for response time. Each of these can be filtered down by service or connector, device, player version and regionally.

References:

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/validate-app

https://community.dynamics.com/crm/b/crminthefield/posts/monitoring-the-power-platform-canvas-driven-apps---power-apps-analytics

Total 350 questions
Go to page: of 35