PL-400 - Practice Test 2

Ace your homework & exams now with Quizwiz!

A financial services company uses the Common Data Service (CDS) to develop solutions. The company uses development and production instances. You need to move solutions from the development instance to the production instance. What are two possible ways to achieve this goal?

In the development instance, highlight the solution you want to make changes to, select Clone a Patch, make changes, export the solution, and import the solution into the production instance. In the development instance, make changes to the solutions that are deployed in the production instance, export the solutions as managed solutions, and import the managed solutions into the production instance. Overall explanation When you import a managed solution, all component changes will be brought into the environment in a published state. You can apply patches to either managed or unmanaged solutions and include only changes to entities and related entity assets. Patches do not contain any non-customized system components or relationships that it dependents upon because these components already exist in the deployed-to organization. At some point in your development cycle, you can roll up all the patches into a new solution version to replace the original solution that the patches were created from.

A company implements Dynamics 365 Supply Chain Management. The company wants a button to display in the command bar when viewing accounts. You need to add the button using the Ribbon Workbench. In which three areas can you add a button for the Account entity?

In the home area for Accounts. On the associated view of the account. On the Account form. Overall explanation The Ribbon Workbench requires a solution to load that contains the entities that you wish to work on.

A company uses Dynamics 365 Sales. You need to configure the customer lookup search for email activity in the canvas app. How should you complete the expression? If. (....1.... ( ThisItem.'Company Name' ), "", .......2........ (ThisItem.'Company Name', [@Account] ), "Account: "& ......3......... (ThisItem.'Company Name', [@Accounts] ). 'Account Name', "Contact: "& .....4....... (ThisItem. 'Company Name', [@Contacts]). 'Full Name'

IsBlank IsType AsType AsType Overall explanation 1: IsBlank - The IsBlank function tests for a blank value or an empty string. The test includes empty strings to ease app creation since some data sources and controls use an empty string when there is no value present. 2: IsType - The IsType function tests whether a record reference refers to a specific table type. 3: AsType - The AsType function treats a record reference as a specific table type, sometimes referred to as casting. You can use the result as if it were a record of the table and again use the Record.Field notation to access all of the fields of that record. An error occurs if the reference isn't of the specific type. 4: AsType - Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isblank-isempty https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-astype-istype

You need to configure that the mobile app meets the requirements for phone entries. Which expression should you use?

IsNumeric Overall explanation When a pharmacy is added by using the mobile app, the phone number must be validated to be all digits. Note: The IsNumeric function tests whether a value is numeric. Other kinds of values include Boolean, string, table, and record. The return value is a Boolean true or false. Reference: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-isnumeric

A university implements Dynamics 365 Sales. Several departments use opportunity records to bid for funding for projects within their own departments. You configure the system to ensure that each department can only work on their own records. Employees in multiple departments often need to work together on an opportunity. Employees report that they are not able to see opportunities from other departments. You need to ensure that employees from more than one department can work on the same opportunities when necessary. Solution: Create a security role that has organization-level access to opportunities. Give this security role to all members of the two departments who need access. Does the solution meet the goal?

No Overall explanation Instead use position hierarchy security and define the two departments as positions.

A company is creating a new system based on the Microsoft Dataverse. You need to select the Dataverse features that meet the company's requirements. Which features should you select? Features: Cascade User Owned Referential, Restrict Delete Referential Parental Requirement: When a primary record is deleted, the associated referential records must also be deleted. When a record is assigned to a user, all referencing active records must also be assigned to that user. When a primary records is deleted, the associated record must not be deleted.

Referential Cascade User Owned Referential, Restrict Delete Overall explanation 1: Referential - Active/ Cascade Active one-to-many entity relationship: Perform the action on all active referencing entity records associated with the referenced entity record. 2: Cascade User Owner - Cascade User Owned: Perform the action on all referencing entity records owned by the same user as 3: Referential, Restrict Delete Restrict: Prevent the Referenced entity record from being deleted when referencing entities exist. Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/configure-entity-relationship-cascading-behavior

A company has a Common Data Service (CDS) environment. The following conditions must apply when accounts are reassigned: Ownership for completed tasks that are associated with the account must not change. Outstanding tasks must be reassigned to the new owner of the account. You need to configure the relationship to meet the requirements. Which settings should you use? Condition: Relationship Behavior type - Behavior for the assigned action -

Referential, Restrict Delete Cascade User-Owned Overall explanation 1: Referential, Restrict Delete Restrict: Prevent the Referenced table record from being deleted when referencing tables exist. 2: Cascade User Owned - Cascade User Owned: perform the action on all referencing table records owned by the same user as the referenced table record. Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/configure-entity-relationship-cascading-behavior

You are developing a new model-driven app. You must create a custom connector to connect the app to the Microsoft Graph API. You need to configure the environment before creating the custom connector. Which actions should you use? Scenario: Enable connector to authenticate with Microsoft Azure Active Directory Enable Postman calls to be available for the custom connector

Register Application and specify permissions Open Postman and create collections

An organization uses Common Data Service. The organization's IT helpdesk requires a single-page web application to monitor and manage Data Export Service. The app must access Data Export Service securely. The app must also permit helpdesk users to perform a limited set of functions. You need to create a single-page app. Which options should you use? Requirement: Connect to the app securely Monitor the status of data replication Enable an entity for replication Start or stop data replication View information on records that fail to sync

Register the app in Azure Active Directory Use FetchXML queries Enable Change Tracking /cm/exporter/profiles/{id}/activatedata Use profile operations Overall explanation 1: Register the app in Azure Active Directory 2: Use FetchXML queries - The failure entries can be retrieved through the Get the failure details for a given Profile request. The response returns a URI to an Azure blob that contains the failure information. Each line has the following comma-separated fields (newlines added for clarity): Entity: <entity-name>, RecordId: <N/A | guid>, NotificationTime: <datetime>, ChangeType: <sync-type>, FailureReason: <description> Note: FetchXML is a proprietary XML based query language of Microsoft Dataverse used to query data using either the Web API or the Organization service. It's based on a schema that describes the capabilities of the language. The FetchXML language supports similar query capabilities as query expressions. Incorrect Answers: 3: Enable Change Tracking - The entities that will be added to the Export Profile must be enabled with change tracking. 4: /crm/exporter/{id}/activatedata profiles/{id}/activatedata Activate profile for data replication only. Note: profiles/{id}/activate - Activate a profile, which starts replication of both the associated table definitions and data. 5: Use Profile operations - These failure entries can be retrieved through the Get the failure details for a given Profile request.

A company is creating a one-way integration from Microsoft Dataverse to an external system. Data will be sent from a webhook to an Azure Function. You need to configure the Azure Function to handle data from the webhook. Which class and data type must the Azure Function handle?

RemoteExecutionContext in JSON format Overall explanation The body will contain string that represents the JSON value of an instance of the RemoteExecutionContext class. Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/use-webhooks

You are creating a new model-driven app. The app must meet the following requirements: Display an image that can be resized without loss in quality. Use a client API function to return language-localized text. You need to customize the app by using web resources. Which web resource types should you use? Requirement: Display a resized image. Return language-localized text.

SVG RESX

A company is migrating from an on-premises Dynamics 365 installation to a Power Platform solution. You are creating plug-ins for the new solution. You need to register the plug-ins. Which isolation mode should you use?

Sandbox Overall explanation You will find options related to the isolation mode and location for the assembly. These refer to options that apply to on-premise deployments. Dataverse is not available for on-premises deployments, so you will always accept the default options of SandBox and Database for these options.

A school district wants to standardize student information and student performance records. Students in the district are assigned to a specific school. Students are evaluated using class records. When students move between schools in the middle of a school year, the student's current class history must be available to the administrators at the new school. You need to configure Microsoft Dataverse tables to connect the class history records to their respective class records. How should you configure the table? Configuration setting Table ownership for the class record table. Relationship of the class history table to the student table. Behavior of the relationship between the class history table and the student table.

Team Many-to-one Parental Overall explanation 1: Team - 'the student's current class history must be available to the administrators at the new school.' 2: Many-to-one - 3: Parental - The N:1 (many-to-one) relationship type exists in the user interface because the designer shows you a view grouped by tables. 1:N relationships actually exist between tables and refer to each table as either a Primary/Current table or Related table. The related table, sometimes called the child table, has a lookup column that allows storing a reference to a row from the primary table, sometimes called the parent table. A N:1 relationship is just a 1:N relationship viewed from the related table. Reference: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/user-team-entities https://docs.microsoft.com/en-us/powerapps/maker/data-platform/create-edit-entity-relationships

A customer wants to design a complex business process flow that includes six custom entities and four stages for each entity. One of the stages will have 15 steps. You need to explain the flaw in this design to the customer. What is the flaw in this design?

The maximum number of custom entities has been exceeded. Overall explanation Maximum number of processes, stages, and steps: To ensure acceptable performance and the usability of the user interface, there are some limitations you need to be aware of when you plan to use business process flows: Multi-entity processes can contain no more than five entities. There can be no more than 10 activated business process flow processes per entity. Each process can contain no more than 30 stages.

You are troubleshooting a new canvas app. Users report the app loads slowly. You use the Monitor tool to view various events being performed in the app. Events performed in the app do not have formula details. You need to enable formulas to be included with the Monitor tool events. What should you do?

Turn on the Debug published app setting in the canvas app.

You need to configure the trigger for the priority field in the Account entity. Which expression should you use?

ADDWEEKS(1, CreatedOn) Overall explanation A trigger must be created that changes the Priority field to 1 in the Account record 10 days after an Account record is created. Note: Date.AddWeeks returns the date, datetime, or datetimezone result from adding numberOfWeeks weeks to the datetime value dateTime. CreatedOn gets the value to store in the history table indicating when this entry was created.

You create a Power Virtual Agents chatbot in an environment named Environment1. A colleague creates a Power Automate flow in the default solution in the default environment. The chatbot in Environment1 does not recognize the flow in the default environment. You need to ensure the chatbot can access the flow. Which two actions should you perform?

Add the Power Automate flow to a solution in the default environment. Export the solution from the default environment and import the solution into Environment1. Overall explanation Reference: https://learn.microsoft.com/en-us/power-virtual-agents/authoring-export-import-bots

You need to implement the driving record check functionality. What should you implement? Requirement: Trigger a driving record check Perform a driving record check

After the address validation field changes on the screen Cloud flow Overall explanation Reference: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/custom-api

You have a Microsoft Dataverse entity and a model-driven app. The model-driven app integrates with an external system. You plan to run business logic each time the model-driven app creates a record. Running business logic must not negatively affect model-driven app users. You need to implement the business logic. What should you use?

Asynchronous plug-in registered in the PostOperation stage

You are developing a model-driven app by using Microsoft Power Platform. The app must perform the following functions: Automatically receive updates from a purchase order system. Only add new purchase orders. You need to implement the app.y Which components should you use? Requirement: Automatically receive purchase order updates. Add new purchase orders.

Connector with polling trigger Creation date

Contoso, Ltd. has a database that stores proprietary stock market information that the company has accumulated over many years. You create a RESTful service for the company that exposes specific information about stocks. You must make the service available to the company's brokers. The service must be certified by Microsoft. You need to create a custom connector for the service APIs. How should you configure the connector? Configuration question- Who owns the connector? Where is the stackOwner property defined?

Contoso, Ltd. apiProperties.json Overall explanation 1:Contoso, Ltd. publisher and stackOwner properties "publisher" is the name of your company or organization. Provide the full company name (for example, "Contoso Corporation"). This must be in alphanumeric format. "stackOwner" is the owning company or organization of the back-end service stack that the connector is connecting to. This must be in alphanumeric format 2: apiProperties.json - The publisher and stackOwner properties exist as top-level properties within the apiProperties.json file. Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/certification-submission

A travel company plans to track the address of places their clients visit in an entity named Destination. Client information is captured as contact records. Client records include links to the places that clients visit. The company must be able to link multiple rating records to the new address record. You find a custom Rating entity that is incomplete. You need to expand the Rating entity to include contact, address, and rating information in one place. Which three actions should you perform?

Create a 1:N relationship between the Address system entity and the Rating entity. Create a mapping for the Contact Rating relationship. Create a 1:N relationship between the Contact system entity and the Address system entity named Destination. Overall explanation Each Contact can visit a destination many times. travel company plans to track the address of places their clients visit in an entity named Destination. Client information is captured as contact records. Client records include links to the places that clients visit. The company must be able to link multiple rating records to the new address record. Each address entity can be linked to many rating records. You need to expand the Rating entity to include contact, address, and rating information in one place. Need a mapping between for the Contact and Rating entities (through the Address/Destination entity).

A company manages a Microsoft Power Platform solution that includes an account table. You enable an Auditing flag in the table and import a managed version of the solution to the production environment. After the import, you observe that the Auditing flag is disabled in the production environment. You check solution layering of the Account table. You observe that the First Party solution customization lays on top of the solution. You need to enable the Auditing setting. In which order should you perform the actions?

Create a blank solution and move Account table customization from the original solution to the blank so... Remove the Account table from the original solution. Export the solution as managed from the development environment and import it to the production environment by using the Upgrade setting. Delete the new solution from the development and production environments. Add the Account table and all customization of this table to the original solution. With the Account table, export the original solution as managed from the development environment and import it to the production environment...

Teachers in a school district use Azure skill bots to teach specific classes. Students sign into an online portal to submit completed homework to their teacher for review. Students use a Power Virtual Agents chatbot to request help from teachers. You need to incorporate the skill bot for each class into the homework bot. Which three actions should you perform in sequence? Actions: Create a manifest for the skill bot. Register the skill bot in Azure Active Directory. Register the homework. bot in Power Virtual Agents. Register the homework bot in Azure Active Directory. Create a manifest for the homework bot. Register the skill bot in Power Virtual Agents.

Create a manifest for the skill bot. Register the skill bot in Power Virtual Agents. Register the homework bot in Power Virtual Agents. Overall explanation 1: Create a manifest for the skill bot You can use skills to extend another bot. A skill is a bot that can perform a set of tasks for another bot. A skill's interface is described by a manifest. 2: Register the skill bot in Power Virtual Agents Power Virtual Agents enables you to extend your bot using Microsoft Bot Framework skills. First, create a Power Virtual Agents bot and create and deploy the skill using pro-code tools into your organization. Next, register a skill in Power Virtual Agents. 3: Register the homework bot in Power Virtual Agents You can use your Power Virtual Agents bot as a skill with Bot Framework bots. The Bot Framework and Power Virtual Agents bots must be deployed in the same tenant. Reference: https://docs.microsoft.com/en-us/azure/bot-service/skill-implement-skill https://docs.microsoft.com/en-us/azure/bot-service/skills-write-manifest

A company uses a custom Power Platform app to create and manage programs. The company has a public website that uses TLS 1.0. The public website is outside of the corporate domain. The website uses POST requests to save data. You need to automate the transfer of data to the public website. What should you use? Step: Move program data to the public website. Package the program details

Create a plug-in that uses a secure connection Register a pre-image for the. program create message step in the Plug-in Registration tool.

A company uses Common Data Service rollup fields to calculate insurance exposure and risk profiles for customers. Users report that the system does not update values for the rollup fields when new insurance policies are written. You need to recalculate the value of the rollup fields immediately after a policy is created. What should you do?

Create a plug-in that uses the CalculateRollupFieldRequest method for the rollup field. Configure a step on the Create event for the policy entity for this plug-in. Overall explanation In case you want to calculate Rollup field immediately whenever child record gets created, updated or deleted, you can write custom C# plugin or custom workflow activity and use SDK message "CalculateRollupFieldRequest". Incorrect:

A travel company has a Common Data Service (CDS) environment. The company requires the following: Custom entities that track which regions clients have traveled. The dates their clients traveled to these regions. You need to create the entities and relationships to meet the requirements. Which three actions should you perform?

Create the Region entity. On the main form for ContactRegion, add lookup fields for Contact and Region, and a date field for the visit date. Create an intersect entity named ContactRegion and create N:1 relationships to Contact and Region.

A company designs a solution for use in an international organization. The solution must provide multiple UI languages and currencies. You need to move components to include them as part of the solution. Which three component types can you move?

Currencies enabled in the environment available UI languages custom entity

The company identifies the following requirements: Human resources team members from the staffing company must be able to access the jobs listing and post available positions. Employers seeking temporary employees must also be able to access the jobs listing and post available positions. Approved job candidates must be notified about new positions for which they are qualified. Approved job candidate must have an option to accept a job assignment directly from a notification. You need to perform a gap analysis against the features and capabilities of the Power Platform. Which features should you implement?

Custom self-service portal for both employers and job candidates Model-driven app with push notifications Webform with target set to the job custom entity Configure a value for the Execute Workflow on Redeeming Contact option only. Configure a value for the Assigned to Account option only. Overall explanation 1: Custom self-service portal for both employers and job candidates If you select an environment that contains customer engagement, you can create the following portals: * Customer self-service portal: A customer self-service portal enables customers to access self-service knowledge, support resources, view the progress of their cases, and provide feedback. * Partner portal: A partner portal allows every organization with resellers, distributors, suppliers, or partners to have real-time access to every stage of shared activities. * Employee self-service portal: An employee self-service portal creates an efficient and well-informed workforce by streamlining common tasks and empowering every employee with a definitive source of knowledge. 2: Model-driven app with push notifications Compared to canvas apps, model-driven apps in PowerApps are based on underlying data ג€" specifically, the data stored in Common Data Service (CDS). 3: Webform with target set to the job custom entity 4: Configure a value for the Execute Workflow on Redeeming Contact option only. Execute Workflow on Redeeming Contact: A workflow process to be executed when the invite is redeemed. The workflow will be passed the redeeming contact as the primary entity. 5: Configure the value for the Assigned to Account option only. Assign to Account: An account record to be associated as the redeeming contact's parent customer when the invite is redeemed.

You work for a not-for-profit agency that manages business processes by using Power Platform custom entities. Volunteer registration and onboarding are manual processes that include multiple related entities. You need to implement a portal solution that replaces the manual processes. Which modules should you use? Requirement: Create a portal by using a portal template Manage volunteer registration

Customer self-service portal Entity form metadata Overall explanation 1: Customer self-service portal Customer self-service portal: A customer self-service portal enables customers to access self-service knowledge, support resources, view the progress of their cases, and provide feedback. Incorrect Answers: Community portal: A community portal leverages peer-to-peer interactions between customers and experts to organically grow the catalog of available knowledge from knowledge base articles, forums, and blogs as well as providing feedback through comments and ratings. Starter portal: If you select an environment that contains Microsoft Dataverse, you can create a Dataverse starter portal. The Dataverse starter portal comes with the sample data for you to quickly get started. It also has the following built-in sample pages: Default studio template - Page with title - Page with child links - 2: Entity form metadata - The Advanced Form Metadata contains additional behavior modification logic to augment or override the functionality of form fields that is otherwise not possible with native basic form editing capabilities. Reference: https://docs.microsoft.com/en-us/powerapps/maker/portals/portal-templates https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata

An organization uses Dynamics 365 Sales. The organization has accounting and customer service departments. You must restrict users in customer service from being able to change the value of the balance field on the Contact records. The accounting team must be the only team able to edit this field. You need to create the appropriate solution without any customizations. What should you do first?

Enable field security for the balance field and grant the accounting team read and update permissions. Overall explanation In Dynamics 365 Customer Engagement (on-premises), you use field-level security to restrict access to high business impact fields to specific users and teams. For example, you use this to enable only certain users to read or update the credit score for a customer.

You are designing a model-driven app for a company's support desk team. You must add a button to the app that creates a reminder task. The button must only display to users if a service case is open for at least seven days. You need to define the steps to create the button when App Designer is open. In which order should you perform the actions? Actions: Add a data source to the component library. Create a task by using an OnSelect expression. Edit the command bar. Add a command button. Configure a visibility expression.

Edit the command bar. Add a command button. Add a data source to the component library. Configure a visibility expression. Create a task by using an OnSelect expression. Overall explanation 1: Edit the command bar. 2: Add a command button. 3: Add a data source to the component library DataSourceInfo function - Data sources can provide a wealth of information to optimize the user experience. 4: Configure a visibility expression.ֲ¨ You can use Power Fx for both actions (what happens when the command button is selected) as well as visibility (logic to control when the button is visible). Visible - Defines logic for hiding or showing the button when running the app. To define visibility logic select the command. Then select Visibility on the right command properties pane and choose Show on condition from formula. You may now select Visible on the left of the formula bar then write a Power Fx expression using the formula bar. 5: Create a task by using OnSelect expression. OnSelect - Defines the logic that will be executed when the button is selected within the app. Reference: https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/use-command-designer https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/commanding-use-powerfx

A company implements Dynamics 365 Sales. Only sales managers must be able to perform the approval to move high value sales on in the opportunity qualification process. A new field must be created to capture the approval. You need to create and secure the new field. Which three actions should you perform in sequence? Actions: Create a new field security profile. Enable auditing in the Approval field. Create an access team template and define the access rights for the Opportunity entity. Enable change tracking for the Opportunity entity. Set the field permissions for the new field to enable read, update, and create, and add the sales manager as a member of the field security profile. Enable field security in the Approval field. Enable the write privilege on the Opportunity for the sales manager security role and grant the sales manager for the team the sales manager security role.

Enable field security in the Approval field. Create a new field security profile. Set the field permissions for the new field to enable read, update, and create, and add the sales manager as a member of the field security profile. Overall explanation Step 1: Enable field security in the Approval field. 1. Enable field security on one or more fields for a given entity. 2. Associate one more existing security profiles, or create one or more new security profiles to grant the appropriate access to specific users or teams (step 2 and step 3 below). Step 2: Create a new field security profile. Create a new field security profile for the sales manager. Step 3: Set the field permissions security profile Step 2 and step 3, example: Configure the security profiles. 1. Create the field security profile for sales managers. 2. Go to Settings > Security. 3. Click Field Security Profiles. 4. Click New, enter a name, such as Sales Manager access contact mobile phone, and click Save. 5. Click Users, click Add, select the users that you want to grant read access to the mobile phone number on the contact form, and then click Add. 6. Click Field Permissions, click mobile phone, click Edit, select Yes next to Allow Read, and then click OK. Reference: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/field-level-security

An international organization has a series of client-server applications that manage red light cameras and traffic violations across a wide geographic region. The daily volume of traffic violations is very high and growing. You plan to use Microsoft Power Platform apps to manage the following types of data: Existing vehicle licensing data must be imported into Microsoft Dataverse and easily queried. Red light camera images must be stored in a repository for later analysis. Information about traffic violations must be stored and related to vehicle details. You need to select data storage mechanisms for the new apps. Which data storage mechanisms should you use? Data storage mechanisms: Entity Azure Storage Blob Azure Cosmos DB Data type: Vehicle licensing data Red light camera photos Information about traffic violations

Entity Azure Storage Blob Azure Cosmos DB Overall explanation 1: Entity - Existing vehicle licensing data must be imported into Microsoft Dataverse and easily queried. Virtual tables (also known as virtual entities) enable the integration of data residing in external systems by seamlessly representing that data as tables in Microsoft Dataverse, without replication of data and often without custom coding. A virtual table is a definition of a table in the Dataverse platform without the associated physical tables for table instances created in the Dataverse database. Instead during runtime, when a table instance is required, its state is dynamically retrieved from the associated external system. The following data providers ship with Dataverse: An OData v4 provider is included with the service and is installed by default. This provider supports create, read (retrieve, retrieve multiple), update and delete operations. An Azure Cosmos DB - 2: Azure Storage Blob - Red light camera images must be stored in a repository for later analysis. Use Azure Storage Blob for binary data. Azure Blob storage stores massive amounts of unstructured object data, such as text or binary data. 3: Azure Cosmos DB - Information about traffic violations must be stored and related to vehicle details. Reference: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/virtual-entities/get-started-ve https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction

A company is creating a Power Apps portal to collaborate with vendors. You need to implement custom functionality in the portal by using JavaScript code. Which two portal entities can you use?

Entity lists Webforms Overall explanation Reference: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/entity-lists#add-custom-javascript

You need to configure the address verification API. Which values should you use? Property: 1. Address validation message 2. Execution mode:

Execute Synchronous Overall explanation Execute - You need to configure the address verification API. Action: A user enters the candidate address into a third-party website to verify that the address entered is valid. Synchronous - The address verification process provides a response almost immediately on screen.

You manage two Microsoft Power Platform solutions. Solution A contains a custom text column named custom_text. Solution B contains a view that references the custom_text column. Both solutions in the managed state are installed in the destination environment. You need to delete the custom_text column and apply changes in the destination environment. In which order should you perform the actions? Actions: Export Solution A as managed from the source environment import Solution A to the destination environment. Export Solution B as managed from the source environment import Solution B to the destination environment. Delete the custom_text column in the source environment. Remove the referenced custom_text column from the Solution B view in the source environment.

Export Solution A as managed from the source environment import Solution A to the destination environment. Export Solution B as managed from the source environment import Solution B to the destination environment. Delete the custom_text column in the source environment. Remove the referenced custom_text column from the Solution B view in the source environment.

You manage two Microsoft Power Platform managed solutions. You must update the solutions and import them into an environment that has no customizations. Solution A - • Changes the length of the name column to 75 • Adds the categoryid column at the top of the Account Information section of the Account form Solution B - • Changes the length of the name column to 100 • Adds the territoryid column at the top of the Account Information section of the Account form Solution A must be imported before Solution B. You need to determine what state the components are in after importing the solutions. Which effect does each component? Component: 1. Column - 2. Form. -

Length is 100. Both columns appear in the Account Information section.

You need to resolve CustomerB's issues with the check-in application. Which two options can you use?

LookUp to Search LookUp to Filter Overall explanation CustomerB reports that the check-in app returned only one search result for their last name, which is not the correct name. The Filter function finds records in a table that satisfy a formula. Use Filter to find a set of records that match one or more criteria and to discard those that don't. 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. The Search function finds records in a table that contain a string in one of their columns.

You are developing a model-driven app. The app uses data from two custom tables. The tables have a parent-child relationship. The parent record form contains a subgrid that displays the child records. When creating a new child record from the parent form, data must automatically populate in the child record form to reduce data input errors. You need to implement the solution. What should you do?

Map table columns from the parent record to the child record. Overall explanation A subgrid exists within a main form and let app users view data within a Dataverse table, typically related to the record currently being reviewed.

You are developing a model-driven app for a company. The app must map child records to a parent record. You need to use the column mapping feature to configure the app. Which two actions can you perform?

Map the value of a Choices column on the child table to the value of a Choices column on the parent table. Map the value of columns on both the child table quick-create and main forms to the value for the same columns on the parent table. Overall explanation Reference: https://docs.microsoft.com/en-us/power-apps/maker/data-platform/map-entity-fields

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?

Navigate to Table options and enable attachments.

You have the following code: ExecuteMultipleRequest request = new ExecuteMultipleRequest () { Settings = new ExecuteMultipleSetting() { ContinueOnError = true, ReturnResponses = false }, Requests = new OrganizationRequestCollection() }; GetAccountData(request.Requests); ExecuteMultipleResponse responseWithResults = (ExecuteMultipleResponse)crmSvc.Execute (request); foreach. (var responseItem in responseWithResults.Responses) { . . . } Statements: The developer is able to get access to the newly-created accounts IDs. If an error occurs, the developer can get access to the request that caused the fault. If there are errors in the requests, the request will raise an exception at the first error and stop processing. If there are ten errors in the 1,000 CreateRequest requests, ten responses will be returned from the platform.

No Yes No Yes Overall explanation 1: No - 2: Yes - ContinueOnError: When true, continue processing the next request in the collection even if a fault has been returned from processing the current request in the collection. When false, do not continue processing the next request. ReturnResponses: When true, return responses from each message request processed. When false, do not return responses. When false, the Responses collection will not be empty if errors are returned. If errors are returned, there will be one response item in the collection for each processed request that returned a fault and Fault will be set to the actual fault that occurred. 3: No - 4: Yes - For example, in a request collection that contains six requests where the third and fifth request return faults, the following table indicates what the Responses collection would contain. ContinueOnError=true, ReturnResponses=false: 2 response items: 2 have Fault set to a value. Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/execute-multiple-requests

You are synchronizing company data from a SQL Server-based .NET application into a Common Data Service (CDS) environment. The data is entered in both the SQL Server and CDS systems. You have a program that includes the following code: var account = new Entity("account", "accountnumber", "c0-555"); account ["name"] = "Contoso"; account ["creditlimit"] = new Money(100000); var request = new UpsertRequest() { Target = account }; var response = (UpsertResponse)_serviceProxy.Execute(request); For each of the following statements, select Yes if the statement is true. Otherwise, select No.

No Yes Yes Yes Overall explanation 1: No. An alternate key is needed, not a new field for the record identifier. 2: Yes - The specified key attributes are not a defined key for the account entity. Name: EntityKeyNotDefined - Message: The specified key attributes are not a defined key for the {0} entity 3: Yes - One way to create an entity is by using the UpsertRequest class. An upsert will create a new entity when there is no existing record that has the unique identifiers included in the entity passed with the request. 4: Yes - Reference: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/web-service-error-codes https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/entity-operations-update-delete

A client is deploying Dynamics 365 Finance without any third-party add-ons. You need to select the appropriate solutions for the client. What should you select? Scenario: Warehouse employees can use mobile devices to scan barcodes by using Dynamic 365 Finance. The location of field technicians can be communicated with a text message from Dynamics 365 Field Service. Logic apps

Out-of-the-box Power Automate Overall explanation 1: Out-of-the-box - Technicians can use the Field Service (Dynamics 365) mobile app to scan barcodes. 2: Power Automate - Administrators can replace Dynamics 365 workflows with Power Automate flows for Field Service Mobile processes like geofencing, geofence alerts, and push notifications. By using Power Automate for Field Service Mobile processes, you can: Connect and run workflows within Dynamics 365 and between other outside applications. Delete records and schedule jobs. Perform robust approvals. Reference: https://docs.microsoft.com/en-us/dynamics365/field-service/mobile-power-app-system-barcode-scanning https://docs.microsoft.com/en-us/dynamics365/field-service/mobile-workflow-to-flow

You are creating a Web API. The API must be able to perform the following actions: Create a column in a Microsoft Dataverse table. Update a column for an existing row. Which HTTP methods should you use? HTTP methods: GET POST PATCH ACCEPT Requirement: Create a column. Update a column for an existing row.

POST PATCH Overall explanation 1: POST - Create table definitions - To create a table definition, POST the JSON representation of the entity definition data to the EntityDefinitions entity set path. The entity must include the definition for the primary name attribute. You don't need to set values for all the properties. The items on this list except for Description are required, although setting a description is a recommended best practice. 2: PATCH - Basic update - Update operations use the HTTP PATCH verb. Pass a JSON object containing the properties you want to update to the URI that represents the record. Reference: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/create-update-entity-definitions-using-web-api https://docs.microsoft.com/en-us/power-apps/developer/data-platform/webapi/update-delete-entities-using-web-api

You create a plug-in to validate data. Users report that validation is not working as expected. You need to debug the plug-in. Which tool should you use?

Plug-in profiler Overall explanation Because the plug-in executes on a remote server, you cannot attach a debugger to the plug-in process. The plug-in profiler captures a profile of an executing plug- in and allows you to re-play the execution of the plug-in using Visual Studio on your local computer. Install plug-in profiler - There are two tools available from which to run the Plug-in Profiler: the Plug-in Registration Tool and Power Platform Tools for Visual Studio. Start profiling - Follow these steps to begin profiling a plug-in's execution. 1. In the Plug-in Registration tool, select the (Step) BasicPlugin.FollowupPlugin: Create of account step you registered earlier, and click Start Profiling. 2. When presented with the Profiler Settings dialog, accept the default settings and click OK to close the dialog. Reference: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/tutorial-debug-plug-in

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?

Postman collection OpenAPI definition Overall explanation OpenAPI definitions or Postman collections can be used to describe a custom connector.

You are creating a model-driven app You are using the Opportunities table to estimate the opportunity. The requirements for the app include: An email must be sent to the sales team if the opportunity is over $50,000. Users must be able to enter sponsors when creating a record if the opportunity is over one million dollars. You must minimize the lines of code required. You need to implement the app. Which tools should you use? Tools: Power Automate cloud flow Business rules Javascript Power Virtual Agent Requirement: Opportunity over $50,000 Opportunity over one million dollars Business rules

Power Automate cloud flow Business rules

You must minimize the amount of custom code and configuration required to implement the solution. What should you use? Requirement: Determine which store is closest to the order destination. Estimate the time required to prepare an order and notify the customer. Send the newsletter by email to customers.

Power Automate flow New screen in an existing order canvas app Power Automate flow triggered from an email button Overall explanation 1: Power Automate flow - Do you want to get the user's location whose location is closest to the current device, then use key is to use Bing Map connector. 2: New screen in an existing canvas app 3: Power Automate flow triggered from an email button Incorrect Answers: UI flows brings Robotic Process Automation (RPA) capabilities to Power Automate. You can use UI flows to automate repetitive tasks in Windows and Web applications. UI flows records and plays back user interface actions (clicks, keyboard input, etc.) Reference: https://docs.microsoft.com/sv-se/connectors/bingmaps/

A company is configuring Microsoft Power Virtual Agents and Power Automate flows that use model-driven apps. The company has a website that uses Power Pages. You create Power Virtual Agents bot topics. You must configure the following: Use a bot on the website. Create Bot Framework skills. Create a support request from the bot without human interaction. You need to configure the website. Applications: Power Virtual Agents Power Automate Power Pages Power App Requirement: Use a bot on the website. Create Bot Framework skills. Create support request from the bot.

Power Pages Power App Power Virtual Agents

You are creating a plug-in for an app that helps government employees get a proof of vaccination card. You must add the following information to a vaccination record before a proof of vaccination card is created: Vaccination type Date of vaccination Name of person administering the vaccine You need to register the plug-in. In which stage should you register the plug-in?

PreOperation

You are developing a Power Platform solution. The solution connects to a third-party accounting system by using a Web API through a Power Apps app that automatically exchanges contacts with the sales data. You have the following code: GET https://contoso.crm.dynamics.com/api/data/v9.1/account?$select=name, accountnumber, telephone1 &stop=5 HTTP/1.1 ........................................................................ Caqche-Control:no-cache 0Data-Version: 4.0 Content-Type: application.json You need to ensure that the code only synchronizes data that was not previously synchronized. Which code segment should you insert at blank line?

Prefer: odata.track-changes

You need to design functionality to process background check results. What should you implement? Requirement: Select an implementation pattern Apply stage changes to Dataverse

Pull Update Overall explanation Reference: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/use-upsert-insert-update-record

An organization uses a public-facing Power Apps portal. You need to change the layout of a specific web page. What are two possible ways to achieve the goal?

Select the portal app and then select Edit. Select the Portal Management app and then select Edit. Overall explanation The Portal Management app lets you do advanced configuration actions on your portal. 1. Open the Portal Management app. 2. Go to Portals > Web Pages. 3. To edit an existing web page, select the web page name. 4. Enter appropriate values in the fields. 5. Select Save & Close. To use the WYSIWYG editor: 1. Edit the portal to open it in Power Apps portals Studio. 2. Select the page on which you want to add the component. 3. Select an editable element on the canvas.

You are configuring a custom connector for a web service. The web service is hosted in two different regions. The web service URL includes a common domain name and a unique sub-domain for each region. The custom connector must allow the region to be entered for additional regions when creating the connection. You need to create a policy template. Which template type should you use?

Set host URL

An organization implements Dynamics 365 Sales. You need to trigger a business rule when the main form in saved. What should you do?

Set the scope of the business rule to Entity. Overall explanation Set scope of business rule to "Entity" instead of "All Form". This will trigger it on server side.

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?

Share the flow with users. Share the custom connector with users. Overall explanation Reference: https://docs.microsoft.com/en-us/connectors/custom-connectors/share

You are creating a business process flow for an organization's Request for Quote process. You need to ensure that the business process flow meets the company's requirements. Which components should you use? Components: Step Stage Custom control Branching condition Requirement: The process starts with the receipt of the request for quote. Ensure that credit checks are performed for new users only. Merge all process paths into the main flow.

Step Branching condition Stage Overall explanation 1: Step - Each step represents a field where data can be entered. Stages tell you where you are in the process, while steps are action items that lead to a desired outcome. 2: Branching condition - You can enhance a business process flow with branching. If you have the create permissions on business process flows, you'll be able create business process flow with multiple branches by using the If-Else logic. 3: Stage - Each stage contains a group of steps. Incorrect Answers: You can use custom controls to add rich visualizations (such as sliders, radial knobs, the LinkedIn control, and more) to business process flows steps and deliver engaging experiences to those who use your business process.

You have several model-driven apps. You must ensure that app creators and system administrators can customize the apps. You must follow the principle of least privilege. You need to assign the permissions that are needed for app creators and system administrators. Which security roles should you assign? Roles: System Administrator only System Customizer only Requirement: Create customization in the system View all system data entities View all data stored in system entities

System Customizer only System Administrator only System Administrator only Overall explanation 1: System Customizer - System Customizer - Create (self), Read (self), Write (self), Delete (self), Customizations Has full permission to customize the environment. However, can only view records for environment tables that they create. 2: System Administrator only System Administrator - Create, Read, Write, Delete, Customizations, Security Roles Has full permission to customize or administer the environment, including creating, modifying, and assigning security roles. Can view all data in the environment. 3: System Administrator only

A manufacturing company uses a Common Data Service (CDS) environment to manage their parts inventory across two warehouses modeled as business units and named WH1 and WH2. Data from the two warehouses is processed separately for each part that has its inventory quantities updates. The company must automate this process, pushing inventory updates from orders submitted to the warehouses. You need to build the automation using Power Automate flows against the CDS database. You must achieve this goal by using the least amount of administrative effort. Which flow or flows should you recommend?

Two automated flow with scope Business Unit, with triggers on Create/Update/Delete on orders and filters on WH1 and WH2. Overall explanation With the Common Data Service connector, you can create Power Automate flows that are initiated by create and update events within Dataverse. Additionally, you can perform create, update, retrieve, and delete actions on records within Dataverse. You can use scopes to determine if your flow runs if you create a new record, if a new record is created by a user within your business unit, or if a new record is created by any user in your organization.

You are implementing custom business logic in a Power Apps portal. You need to use Liquid templates to display dynamic content. To which three entities can you include Liquid code?

Web page Content snippet Web template Overall explanation Reference: https://docs.microsoft.com/en-us/learn/modules/liquid-template-language/1-introduction

A bank uses a Common Data Service solution to manage clients. Bank representatives perform client credit checks while the client is present. Credit checks may take up to five minutes to complete. Bank policy dictates that the bank representative's app must stay blocked until credit checks are complete. You need to display a model-driven app while credit checks run to ask the bank representative and client to wait for the credit check to complete. Which function should you use?

Xrm.Utility.showProgressIndicator(myPoliteMessage) Overall explanation showProgressIndicator displays a progress dialog with the specified message. Any subsequent call to this method will update the displayed message in the existing progress dialog with the message specified in the latest method call. The progress dialog blocks the UI until it is closed using the closeProgressIndicator method. So, you must use this method with caution.

A client requires that the system send an email from a button on their customer contact form. You need to call the action from JavaScript. Which two functions achieve this result?

Xrm.WebApi.online.execute() Xrm.WebApi.online.executeMultiple() Overall explanation Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/executemultiple

You are designing a one-way integration from Microsoft Dataverse to another system. You must use an Azure Function to update the other system. The integration must send only newly created records to the other system. The solution must support scenarios where a component of the integration is unavailable for more than a few seconds to avoid data loss. You need to design the integration solution. Solution: Register a service endpoint in the Dataverse instance that connects to an Azure Service Bus queue. Register a step at the endpoint which runs asynchronously on the record's Create message and in the post-operation stage. Configure the Azure Function to process records as they are added to the queue. Does the solution meet the goal?

Yes

You are developing a model-driven app for a company. When you create a new Account record, you must automatically display a form to collect data that is needed to create a Contact record. The form must switch to the appropriate form layout based on the contact type. You open the Contact form by using JavaScript. You pass the contact type information to the form by using the Xrm.Navigation.openForm function. An OnLoad event handler in the Contact form processes the data and shows only the appropriate sections of the form for the given contact type. You need to configure the receiving form to accept the data parameter. Solution: In the form editor, add a query string parameter for the data parameter. Does the solution meet the goal?

Yes Overall explanation By default, model-driven apps allows a specified set of query string parameters to be passed to a form. You use these parameters to set default values when you create a new record in the application. Each parameter must use a standard naming convention that includes a reference to the column logical name. There are two ways to specify which query string parameters will be accepted by the form: Edit form properties Edit form XML When you edit a form, on the Home tab in the Form group, select Form Properties. In the Form Properties dialog box, select the Parameters tab. Use this tab to modify the names and data types that the form allows. Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring-parameters

A university implements Dynamics 365 Sales. Several departments use opportunity records to bid for funding for projects within their own departments. You configure the system to ensure that each department can only work on their own records. Employees in multiple departments often need to work together on an opportunity. Employees report that they are not able to see opportunities from other departments. You need to ensure that employees from more than one department can work on the same opportunities when necessary. Solution: Use access team templates and give access to members in the two departments. Does the solution meet the goal?

Yes Overall explanation Reference: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/about-team-templates?view=op-9-1

A company implements Dynamics 365 Sales. An email notification must be sent automatically to the sales manager when a business process completes. You need to ensure that emails are sent. What should you create on the process completed trigger?

a workflow Overall explanation When you include a workflow that you want to trigger on Stage Exit of a stage in your business process flow, and that stage is the last stage in the flow, the designer gives the impression that the workflow will be triggered when that stage is completed.

You are creating a Microsoft Power Automate flow. The flow must prompt a user for some input and populate a field in an app based on the user's input. You need to add an expression that returns User1 if the input from the user is High. Otherwise, the expression must return User2. How should you complete the expression? if(1......................(outputs('UserInput')?['body/Type],'High'),'2...............', '3...................')

equals User1 User2 Overall explanation 1: equals - Power automate if Function - The Power Automate if Function is a fundamental function, which checks the expression or value, and returns true or false. For example: If (equals(2,3),'yes', 'no'), so this expression return no. 2: User1 - 3: User2 -

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?

formContext.ui.refreshRibbon(); formContext.ui.refreshRibbon(refreshAll); Overall explanation 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. If role is there - just refresh the ribbon to see the button if (isButtonEnabled) { formContext.ui.refreshRibbon(); } },

A company is creating a new system based on Microsoft Dataverse. You need to select the features that meet the company's requirements. Which options should you use? Options: connection one-to-many relationship many-to-many relationship self-referential relationship Requirement: Visualize records as a hierarchy in a model-driven app Records in one entity must be able to reference only a single record in another entity Any record in one entity must be able to be referenced by any record in another entity

one-to-many relationship one-to-many relationship many-to-many relationship Overall explanation 1: one-to-many relationship - Only one (1:N) self-referential relationship per table can be set as hierarchical. In a self-referential relationship the primary table and the related table must be of the same type. 2: one-to-many relationship - 1:N (One-to-Many) - A table relationship where one table row for the Primary table can be associated to many other Related table rows because of a lookup column on the related table. Note: The N:1 (many-to-one) relationship type exists in the user interface because the designer shows you a view grouped by tables. 1:N relationships actually exist between tables and refer to each table as either a Primary/Current table or Related table. The related table, sometimes called the child table, has a lookup column that allows storing a reference to a row from the primary table, sometimes called the parent table. A N:1 relationship is just a 1:N relationship viewed from the related table. 3: many-to-many relationship N:N (Many-to-Many) - A table relationship that depends on a special Relationship table, sometimes called an Intersect table, so that many rows of one table can be related to many rows of another table. When viewing rows of either table in a N:N relationship you can see a list of any rows of the other table that are related to it. Reference: https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/create-edit-entity-relationships https://docs.microsoft.com/en-us/power-apps/maker/data-platform/visualize-hierarchical-data

Which permissions does a managed identity have on Microsoft Dataverse data?

permissions assigned to the corresponding application user


Related study sets

Mastering Microbiology - Exam #3 - Ch 12, 13, 15

View Set

Data Collection, Behavior, & Decisions

View Set

Economics 101 - Chapter 7 - Inflation

View Set

Chemistry I: Lesson 4 (Periodic Table)

View Set

Micro Lecture final (Person Questions) NOT FINISHED

View Set

Week 1 Modules- Chapter 22 telephone communications

View Set

Study Guide Multiple Choice Test (A)

View Set

CSC 1123 MGCCC Final Exam chp 14-18

View Set