PL-900 Demonstrate the capabilities of Power Apps Practice Question
Exhibit
Refer to the exhibit.
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.Web/connections",
"apiVersion": "2016-06-01",
"name": "shared_office365",
"location": "[resourceGroup().location]",
"properties": {
"displayName": "Office 365 Outlook",
"api": {
"id": "/subscriptions/123/resourceGroups/RG/providers/Microsoft.Web/locations/eastus/managedApis/shared_office365"
},
"parameterValues": {
"token:clientId": "client-id-here",
"token:clientSecret": "secret-here",
"token:resourceUri": "https://outlook.office365.com"
}
}
},
{
"type": "Microsoft.PowerApps/apps",
"apiVersion": "2022-04-01",
"name": "MyApp",
"location": "eastus",
"properties": {
"appId": "app-id-here",
"connectionReferences": {
"shared_office365": {
"connectionName": "shared_office365",
"source": "Embedded",
"id": "[resourceId('Microsoft.Web/connections', 'shared_office365')]"
}
}
},
"dependsOn": [
"[resourceId('Microsoft.Web/connections', 'shared_office365')]"
]
}
]
}Refer to the exhibit. An ARM template deploys a Power App with a connection to Office 365 Outlook. What is the purpose of the 'dependsOn' element?
⚠ Common exam trap
PL-900 often tests the misconception that dependsOn controls deployment order in reverse or affects cost/region, when it strictly enforces that the referenced resource is deployed first.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
To ensure the connection is deployed before the app
In an ARM template, the dependsOn element explicitly declares that one resource must be deployed before another. In this scenario, the Power App depends on the Office 365 Outlook connection, so dependsOn ensures the connection is created first. This ordering is essential because the app references the connection's resource ID; without it, deployment could fail or the app could be provisioned without a valid connection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To deploy the resources to different regions
Why it's wrong here
Region placement is set by the resource's location property, not dependsOn. It is tempting because dependsOn sits alongside location in the template schema, and it would be correct if the requirement were to control where resources are provisioned.
- ✓
To ensure the connection is deployed before the app
Why this is correct
dependsOn establishes deployment ordering in ARM, so the Office 365 Outlook connection resource is created before the app that references it. Without it, the app could deploy against a connection that does not yet exist.
- ✗
To ensure the app is deployed before the connection
Why it's wrong here
Reverses the dependency direction: dependsOn makes the app wait for the connection, not the connection wait for the app. It is tempting because dependsOn genuinely sequences deployments, and it would be correct if the connection needed the app to exist first.
- ✗
To reduce the cost of the deployment
Why it's wrong here
Cost is determined by resource SKUs and consumption, not by deployment ordering. It is tempting because dependsOn affects how resources are provisioned, and it would be correct if the goal were to control which tier or capacity a resource is deployed at.
About these practice questions
This PL-900 question is part of Courseiva's 701-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This PL-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-900 exam.