exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 1 question 31 discussion

Actual exam question from Microsoft's DP-300
Question #: 31
Topic #: 1
[All DP-300 Questions]

HOTSPOT -
You have an Azure subscription.
You need to deploy an Azure SQL resource that will support cross database queries by using an Azure Resource Manager (ARM) template.
How should you complete the ARM template? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Microsoft.Sql/managedInstances
The Managed Instance depends on the Virtual Network.
Reference:
https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/create-template-quickstart?tabs=azure-powershell

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
polinoma
Highly Voted 9 months ago
The answer is correct. { "type": "Microsoft.Sql/managedInstances", "apiVersion": "2020-02-02-preview", "name": "[parameters('managedInstanceName')]", "location": "[parameters('location')]", "dependsOn": [ "[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworkName'))]" ] }
upvoted 6 times
...
reachmymind
Most Recent 9 months ago
Box 1: Microsoft.Sql/managedInstances Box 2: "[variables('networkSecurityGroupName')], Box 1 is Microsoft.Sql/managedInstances because there is a need to support cross database queries Bix 2 has two options based on what follows: "dependsOn": [ "[resourceId('Microsoft.Network/networkSecurityGroups', variables('networkSecurityGroupName'))]", "[resourceId('Microsoft.Network/routeTables', variables('routeTableName'))]"
upvoted 2 times
reachmymind
9 months ago
I retract the statement and have a correction : Box 2: parameters('virtualNetworkName') "dependsOn": [ "[resourceId('Microsoft.Network/virtualNetworks', parameters('virtualNetworkName'))]" The key is parameters vs variables ...
upvoted 8 times
...
...
o2091
1 year ago
its ok?
upvoted 1 times
...
newbie2020
1 year, 1 month ago
it should be NetworkSecurityGroupName for 2nd drop down
upvoted 1 times
CaptainJameson
9 months, 2 weeks ago
The managedInstances has a dependency on the virtualNetworkName The virtualNetwork has a dependency on the NetworkSecurityGroupName
upvoted 4 times
...
...
Aggie0702
1 year, 2 months ago
Why the virtualNetworkname?
upvoted 3 times
0gorek
1 year, 2 months ago
because virtual network has to be deployed before
upvoted 8 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...