You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your R&D team asked you to deploy an Azure SQL database so they can compare it to Azure Cosmos DB.
20
-
An SQL database is a child resource of the Azure SQL logical server resource.
21
-
Which of these statements is true?
22
-
choices:
23
-
- content: The SQL database resource might be in a different resource provider than its parent.
24
-
isCorrect: false
25
-
explanation: Incorrect. Child resources always exist within the same resource provider as their parent. Extension resources might exist in different resource providers.
26
-
- content: You can use the `parent` property to tell Bicep about the relationship between the parent and child resources.
27
-
isCorrect: true
28
-
explanation: Correct. In Bicep, you define child resources by using the `parent` property, by using nested resources, or by constructing a child resource name directly.
29
-
- content: An Azure SQL logical server instance is an implicit resource.
30
-
isCorrect: false
31
-
explanation: Incorrect. You need to explicitly deploy a logical server instance. It's not an implicit resource.
32
-
- content: |
33
-
You're asked to deploy an extension resource with the type: `Microsoft.Authorization/roleAssignments`.
34
-
Which of these approaches should you consider?
35
-
choices:
36
-
- content: Use the `scope` property on a resource definition.
37
-
isCorrect: true
38
-
explanation: Correct. In Bicep, you define an extension resource by using the `scope` keyword.
39
-
- content: Use the `parent` property on a resource definition.
40
-
isCorrect: false
41
-
explanation: Incorrect. You can define child resources by using the `parent` keyword, but this keyword isn't applicable to extension resources.
42
-
- content: Use a nested resource declaration.
43
-
isCorrect: false
44
-
explanation: Incorrect. You can define child resources by using a nested resource definition, but you can't define extension resources in this way.
45
-
- content: Which of these statements is true?
46
-
choices:
47
-
- content: Using the `existing` keyword on a resource declaration means that Bicep redeploys the resource.
48
-
isCorrect: false
49
-
explanation: Incorrect. The `existing` keyword means that Bicep doesn't attempt to deploy the resource. Use the keyword to refer to the resource within your Bicep template.
50
-
- content: All resource definitions in a Bicep file need to have a SKU property set, even existing resources.
51
-
isCorrect: false
52
-
explanation: Incorrect. When you define a resource by using the `existing` keyword, you don't specify the SKU property or most other properties.
53
-
- content: You can access the properties of existing resources by using the resource's symbolic name.
54
-
isCorrect: true
55
-
explanation: Correct. You can use an existing resource to access its properties, including secrets that the resource exposes.
Your R&D team asked you to deploy an Azure SQL database so they can compare it to Azure Cosmos DB.
20
+
An SQL database is a child resource of the Azure SQL logical server resource.
21
+
Which of these statements is true?
22
+
choices:
23
+
- content: The SQL database resource might be in a different resource provider than its parent.
24
+
isCorrect: false
25
+
explanation: Incorrect. Child resources always exist in the same resource provider as their parent. Extension resources might exist in different resource providers.
26
+
- content: You can use the `parent` property to inform Bicep about the relationship between the parent and child resources.
27
+
isCorrect: true
28
+
explanation: Correct. In Bicep, you define child resources by using the `parent` property, by using nested resources, or by constructing a child resource name directly.
29
+
- content: An Azure SQL logical server instance is an implicit resource.
30
+
isCorrect: false
31
+
explanation: Incorrect. You need to explicitly deploy a logical server instance. It's not an implicit resource.
32
+
- content: |
33
+
You're asked to deploy an extension resource with the type `Microsoft.Authorization/roleAssignments`.
34
+
Which of these approaches should you consider?
35
+
choices:
36
+
- content: Use the `scope` property on a resource definition.
37
+
isCorrect: true
38
+
explanation: Correct. In Bicep, you define an extension resource by using the `scope` keyword.
39
+
- content: Use the `parent` property on a resource definition.
40
+
isCorrect: false
41
+
explanation: Incorrect. You can define child resources by using the `parent` keyword, but this keyword isn't applicable to extension resources.
42
+
- content: Use a nested resource declaration.
43
+
isCorrect: false
44
+
explanation: Incorrect. You can define child resources by using a nested resource definition, but you can't define extension resources in this way.
45
+
- content: Which of these statements is true?
46
+
choices:
47
+
- content: When you use the `existing` keyword on a resource declaration, Bicep redeploys the resource.
48
+
isCorrect: false
49
+
explanation: Incorrect. The `existing` keyword means that Bicep doesn't attempt to deploy the resource. Use the keyword to refer to the resource within your Bicep template.
50
+
- content: All resource definitions in a Bicep file need to have an SKU property set, even existing resources.
51
+
isCorrect: false
52
+
explanation: Incorrect. When you define a resource by using the `existing` keyword, you don't need to specify the SKU property or most other properties.
53
+
- content: You can access the properties of existing resources by using the resource's symbolic name.
54
+
isCorrect: true
55
+
explanation: Correct. You can use an existing resource to access its properties, including secrets that the resource exposes.
0 commit comments