As part of the month-end financial closing process, a company uses a batch job to copy all orders into a staging database.The staging database is used to calculate any outstanding amounts owed by clients, and must process all historical data.You need to ensure that only the data affected during the month is included in the integration process.What are two possible ways to achieve this goal? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point.
Answer(s): A,D
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?
Answer(s): B
The body will contain string that represents the JSON value of an instance of the RemoteExecutionContext class.
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/use-webhooks
HOTSPOT (Drag and Drop is not supported)An online store has a custom web page that allows customers to place their orders against a Microsoft Dataverse database that uses custom products. The custom web page uses Web API patterns to create and update records.Customers report that orders can be placed for out-of-stock items.You need to update the page code to ensure that inventory is available before confirming an order.Which pattern should you use for each step? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
Answer(s): A
Box 1: IsOptimisticConcurrencyEnabledOn a multi-threaded and multi-user system like Power Apps, operations and data changes often happen in parallel. A problem arises when two or more update or delete operations on the same piece of data happen at the same time. This situation could potentially result in data loss. The optimistic concurrency feature provides the ability for your applications to detect whether a table record has changed on the server in the time between when your application retrieved the record and when it tries to update or delete that record.Box 2: If-Match: EtagUse If-Match and If-None-Match headers with ETag values to check whether the current version of a resource matches the one last retrieved, matches any previous version or matches no version. These comparisons form the basis of conditional operation support. Dataverse provides ETags to support conditional retrievals, optimistic concurrency, and limited upsert operations.
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/optimistic-concurrency https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/perform-conditional-operations-using-web-api
HOTSPOT (Drag and Drop is not supported)You need to package and deploy a Power Apps code component to an environment.Which commands should you use? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
Box 1: pac solution init --publisher-nameCreate a new solutions project using the following command. The solution project is used for bundling the code component into a solution zip file that is used for importing into Dataverse. pac solution init --publisher-name developer --publisher-prefix deBox 2: pacauth createConnecting to your environment.Auth commands are used to authenticate to Dataverse.Creates the authentication profile for your organization by passing the url parameter. Shows AAD dialog if sign in credentials are not specified.Example: pacauth create --url https://Myorg.crm.dynamics.comBox 3: pacpcf push --publisher-prefixDeploying code componentsAfter you have successfully created an authentication profile, you can start pushing the code components to the Dataverse instance with all the latest changes.The push capability speeds up the inner-developer cycle development because it bypasses the code component versioning requirements and does not require that you build your solution (cdsproj) to import the code component.To use the push capability, do the following:1. Ensure that you have a valid authentication profile created.2. Navigate to the directory where the sample component file is located.3. Run the command.pacpcf push --publisher-prefix <your publisher prefix>Incorrect:Commands for working with Dataverse solution projects include:Parameter initInitializes the solution project. It has the following parameters: publisher-name: Publisher name of the organization. publisher-prefix: Publisher prefix of the organization.
https://docs.microsoft.com/en-us/power-apps/developer/component-framework/import-custom-controls
You are creating an integration between Microsoft Dataverse and an external system.Messages from Dataverse must be sent to Microsoft Azure Service Bus. An Azure Function will process the messages. Events must be published directly to the ServiceEndpoint for Azure Service Bus.You need to create code for the messages.Which class should you use?
Share your comments for Microsoft PL-400 exam with other users:
very useful.
its very useful
very useful!