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?
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
The dependsOn element ensures that the connection resource is created before the app resource, because the app references the connection. Option B is correct. Option A is wrong because the order is connection then app. Option C is wrong because dependsOn does not affect pricing. Option D is wrong because dependsOn is about resource creation order, not deployment scope.
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
dependsOn does not control region.
- ✓
To ensure the connection is deployed before the app
Why this is correct
The app depends on the connection, so connection must exist first.
- ✗
To ensure the app is deployed before the connection
Why it's wrong here
dependsOn ensures the connection is deployed first.
- ✗
To reduce the cost of the deployment
Why it's wrong here
dependsOn does not affect cost.
Go deeper
Related to this question
About these practice questions
This PL-900 question is part of Courseiva's 904-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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.