Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear on the review screen.
You are designing an integration that sends created records from a custom Dataverse table to an exposed REST API.
When the REST API is unavailable, you must be able to retry if the response status code is 500.
You need to select a solution that meets the requirement.
Solution: Register a synchronous plug-in that makes an HTTP request to the REST API. Raise an InvalidPluginExecutionException when the request fails.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: A synchronous plug-in that performs an HTTP call and throws InvalidPluginExecutionException will fail the transaction and return an error to the caller, but it does not provide automatic retry behavior for transient HTTP 500 errors. Automatic retry support is associated with asynchronous processing or resilient messaging patterns, not synchronous plug-in exceptions.
Sources:
https://www.certlibrary.com/exam/PL-300
Question 62
You are creating a plug in that connects to a third-party REST API.
The API credentials must be secured so they are visible only to system administrators. The API credentials must not interfere with other system functionality.
You need to store the credentials.
Which method should you use?
A. Plug-in secure configuration
B. Text environment variable
C. Connection reference
D. Plug-in unsecure configuration
Show Answer
Correct Answer: A
Explanation: Use the plug-in secure configuration. Secure configuration is intended for sensitive data such as passwords or API credentials and is only accessible to system administrators. It is stored separately from the plug-in assembly and does not affect other system functionality. Unsecure configuration is visible to users who can view the plug-in step, text environment variables are not appropriate for secrets because their values can be exposed, and connection references are used for Power Platform connectors rather than arbitrary plug-in REST API credentials.
Question 63
HOTSPOT
-
You are creating an application using the Microsoft Dataverse SDK for .NET.
A record must be created by using the column types of lookup and choices.
You need to set the record's column values.
Which attribute type should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation: In the Dataverse .NET SDK, lookup columns are set with EntityReference. A multi-select Choices column uses OptionSetValueCollection (not List<OptionSetValue> or String).
Question 64
HOTSPOT
-
You are composing a request to the Microsoft Dataverse Web API that updates existing account records in Dataverse and returns resulting records in the response.
You need to complete the request.
Which value should you use for each property? To answer, select the appropriate options in the Value for Property area.
NOTE: Each correct selection is worth one point.
Explanation: Updating existing Dataverse records uses the PATCH method. To return the updated entity in the response, include the header 'Prefer: return=representation'.
Question 65
DRAG DROP
-
A company plans to deploy an Azure Function that connects to Dataverse on a defined schedule to bulk-update Account data.
Corporate policy discourages password-based authentication if other viable options exist.
You need to implement the function app.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Show Answer
Correct Answer: Create the Azure Functions app.
Enable system-assigned managed identity.
Run pac admin assign-user.
Explanation: Create the Function App first, then enable its system-assigned managed identity so it can authenticate without passwords. Finally, assign the managed identity as a Dataverse application user with appropriate security roles using pac admin assign-user.
Question 66
You must move an API key between environments by using a solution. You must use an environment variable with a data type of Secret.
You need to create the environment variable.
What must you create first?
A. Application user
B. Certificate
C. Azure Key Vault
D. Client secret
Show Answer
Correct Answer: C
Explanation: A Secret-type environment variable in Microsoft Power Platform stores a reference to a secret in Azure Key Vault rather than the secret value itself. Therefore, you must first create an Azure Key Vault and store the API key there before configuring the environment variable to reference it.
Question 67
You are developing custom pages for a model-driven app.
The app must display a timer control within a menu and include a mixture of buttons and icons. If a change is made to any of these elements, then the changes must cascade out automatically to all custom pages.
You need to implement a solution.
What should you implement?
A. PCF control
B. Canvas component
C. Timer control
D. Web resource
Show Answer
Correct Answer: B
Explanation: Custom pages in model-driven apps are built with canvas app technology. To create a reusable UI that combines a timer, buttons, and icons and automatically propagates changes to every custom page, use a Canvas component. A PCF control creates a reusable custom control but is intended as a single control rather than composing multiple canvas controls into a reusable page fragment. A standalone Timer control or web resource does not provide the required reusable composite behavior.
Question 68
DRAG DROP
-
You are designing a custom connector for an internal API used by Contoso, LLC.
Authentication to the API is carried out by using an API key. The API key is stored within Azure Key Vault. Each environment has a separate instance of the API with a different API key.
You need to reference the API key from Key Vault in the custom connector.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Show Answer
Correct Answer: Create an environment variable named APIKey (contoso_APIKey)
Add a role assignment to Key Vault
Use the syntax @environmentVariables("contoso_APIKey")
Create a connection
Explanation: Create a Key Vault-backed environment variable, grant access to the secret, reference it in the custom connector with the environment variable expression, then create the connector connection.
Question 69
You are creating an asynchronous automation that targets an external API.
The automation must retrieve a stored API key to connect with the API. The API key must be rotated regularly by business users, without the need for dedicated tooling. No connector is available for the external API.
You need to implement the automation.
What should you use?
A. Unsecure config
B. Secure config
C. Connection references
D. Environment variables
Show Answer
Correct Answer: D
Explanation: Environment variables are the appropriate choice for storing configuration such as an API key that business users need to update without developer tooling. They are designed to hold configurable values across environments and can be referenced by cloud flows/automations. Secure/unsecure configuration applies to plug-ins, and connection references are for supported connectors, which are not available here.
Question 70
You create a custom page that is used as a contextual dialog in a model-driven app.
The app must be able to receive two contextual parameters by passing a concatenated string. The string must use the pipe (|) symbol with the recordId parameter.
You need to compose the formulas to extract parameter information.
Which two formulas should you compose? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Left(Param("recordId"), Find("|", Param("recordId")) - 1)
B. Left(Param("recordId"), Len(Param("recordId")) - Find("|", Param(“recordId")))
C. Right(Param("recordId"), Len(Param("recordId")) - Find("|", Param(“recordId")))
D. Right(Param("recordId"), Find("|", Param("recordId")) - 1)
Show Answer
Correct Answer: A, C
Explanation: To split a concatenated string of the form 'first|second', use Left() with the position of the pipe minus one to extract the first value, and Right() with the total length minus the pipe position to extract the second value. Specifically, Left(Param("recordId"), Find("|", Param("recordId")) - 1) returns the text before '|', and Right(Param("recordId"), Len(Param("recordId")) - Find("|", Param("recordId"))) returns the text after '|'. Options B and D compute incorrect lengths for the intended substrings.
$19
Get all 409 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.