Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 2 question 38 discussion

Actual exam question from Microsoft's AZ-104
Question #: 38
Topic #: 2
[All AZ-104 Questions]

You have an Azure subscription named Subscription1 that contains an Azure virtual machine named VM1. VM1 is in a resource group named RG1.
VM1 runs services that will be used to deploy resources to RG1.
You need to ensure that a service running on VM1 can manage the resources in RG1 by using the identity of VM1.
What should you do first?

  • A. From the Azure portal, modify the Managed Identity settings of VM1
  • B. From the Azure portal, modify the Access control (IAM) settings of RG1
  • C. From the Azure portal, modify the Access control (IAM) settings of VM1
  • D. From the Azure portal, modify the Policies settings of RG1
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mlantonis
Highly Voted 3 years, 4 months ago
Correct Answer: A Managed identities for Azure resources provides Azure services with an automatically managed identity in Azure Active Directory. You can use this identity to authenticate to any service that supports Azure AD authentication, without having credentials in your code. You can enable and disable the system-assigned managed identity for VM using the Azure portal. RBAC manages who has access to Azure resources, what areas they have access to and what they can do with those resources. Examples of Role Based Access Control (RBAC) include: Allowing an app to access all resources in a resource group Policies on the other hand focus on resource properties during deployment and for already existing resources. As an example, a policy can be issued to ensure users can only deploy DS series VMs within a specified resource
upvoted 258 times
itgg11
2 years, 2 months ago
A is a correct answer. Just tested in the lab and first you need to create a managed identity
upvoted 4 times
...
Kalzonee3611
1 year ago
he is goat
upvoted 2 times
...
kilowd
2 years, 4 months ago
Answer A: What is a managed identity in Azure? Image result for managed identity vs Access Control(IAM) azure Managed identities provide an identity for applications to use when connecting to resources that support Azure Active Directory (Azure AD) authentication
upvoted 1 times
...
zman_83
2 years ago
Trust in Superman(mlantonis)!!!
upvoted 24 times
BaldFury401
2 years ago
mlantonis is a savage
upvoted 6 times
AzureG0d
1 year, 11 months ago
i promise he is LOL
upvoted 4 times
supershysherlock
1 year, 11 months ago
What ho, jolly good show that man!
upvoted 4 times
ment0s
1 year, 1 month ago
Right-O good chap, no faffing about, tally-ho!
upvoted 2 times
...
...
...
...
...
...
fedztedz
Highly Voted 3 years, 8 months ago
Answer is correct "A" Modify Managed Identities.
upvoted 55 times
...
SeMo0o0o0o
Most Recent 1 month ago
Selected Answer: A
A is corerct
upvoted 2 times
...
mojo86
1 month, 4 weeks ago
'A' is the correct answer. The first thing you should do is enable the system-assigned managed identity for VM1. This managed identity will then be used to authenticate and manage resources in RG1. After enabling the identity, you need to assign the appropriate role to it at the resource group level to grant it the necessary permissions.
upvoted 1 times
...
3ba6d0b
3 months, 3 weeks ago
Selected Answer: A
To ensure that a service running on VM1 can manage the resources in RG1 by using the identity of VM1, you should first enable a managed identity for VM1. This can be done by modifying the Managed Identity settings of VM1 from the Azure portal. Once the managed identity is enabled, you can assign the necessary role to this identity in the Access control (IAM) settings of RG1 to grant it the required permissions.
upvoted 1 times
...
3c5adce
4 months, 4 weeks ago
A. From the Azure portal, modify the Managed Identity settings of VM1 This is the correct first step. You should enable a managed identity for VM1. Managed identities are Azure AD objects that provide Azure services with an identity within Azure AD. By enabling a managed identity, VM1 can authenticate to Azure services that support Azure AD authentication, like Azure Resource Manager, for managing resources.
upvoted 1 times
...
3c5adce
4 months, 4 weeks ago
A. From the Azure portal, modify the Managed Identity settings of VM1
upvoted 1 times
...
stanislaus450
7 months, 3 weeks ago
Selected Answer: A
To enable a service running on VM1 to manage resources in RG1 using VM1’s identity, you should first configure the Managed Identity settings for VM1. Managed identities for Azure resources provide automatically managed identities for Azure services, allowing them to authenticate to services that support Microsoft Azure authentication without requiring credentials in your code12. Therefore, the correct answer is A. From the Azure portal, modify the Managed Identity settings of VM1.
upvoted 2 times
...
sismer
9 months, 1 week ago
Selected Answer: B
The question is clrearly saying that the VM has already a MI. You just need to assign the RBAC to the MI. So the answer is B.
upvoted 2 times
18c2076
6 months, 3 weeks ago
Comprehend the question better next time before blasting your thoughts. Its just implying that it NEEDS TO BE ABLE TO USE the Managed Identity. Without having created/enabled it, YOU CANT USE IT. Correct answer: A !
upvoted 1 times
...
...
BillDilena
1 year, 1 month ago
Selected Answer: A
By default, resources system managed identity status is Off. FIRST we need to turn it ON
upvoted 3 times
...
oopspruu
1 year, 1 month ago
Selected Answer: A
Pay attention to the question. It asks what should you do FIRST. You'd do A first, and then B. Once you have enabled Managed Identity for this VM, you can then give it access using IAM.
upvoted 5 times
...
Navigati0n
1 year, 2 months ago
A. From the Azure portal, modify the Managed Identity settings of VM1. Explanation: Managed identities for Azure resources is a feature of Azure Active Directory (Azure AD). Each of the Azure resources has an identity in Azure AD that you can use to authenticate to any service that supports Azure AD authentication, without any credentials stored in your code. Managed identities eliminate the need for developers having to manage credentials by providing an identity for the Azure resource in Azure AD and using it to obtain Azure Active Directory (Azure AD) tokens.
upvoted 1 times
...
Athul07
1 year, 4 months ago
A. From the Azure portal, modify the Managed Identity settings of VM1 To ensure that a service running on VM1 can manage the resources in RG1 using the identity of VM1, you should first modify the Managed Identity settings of VM1. Managed Identity allows Azure resources, such as virtual machines, to obtain an identity that can be used to authenticate and authorize against other Azure resources. By enabling Managed Identity for VM1, you can grant the necessary permissions to the service running on VM1 to manage resources in RG1 without exposing any sensitive credentials.
upvoted 2 times
...
Exilic
1 year, 5 months ago
Selected Answer: A
OpenAI "A. From the Azure portal, modify the Managed Identity settings of VM1 To allow a service running on a virtual machine to manage resources in an Azure resource group, you can use a managed identity for the virtual machine. A managed identity is an Azure Active Directory (Azure AD) object that can be used to authenticate to services that support Azure AD authentication, including Azure Resource Manager. By using a managed identity, you can avoid the need to store credentials for a service account on the virtual machine. To enable a managed identity for a virtual machine, you can modify the Managed Identity settings of the virtual machine from the Azure portal or using Azure PowerShell or Azure CLI. Once the managed identity is enabled, you can grant the identity access to the resource group by assigning it a role or permissions in the Access control (IAM) settings of the resource group. Therefore, the correct option is A. From the Azure portal, modify the Managed Identity settings of VM1."
upvoted 2 times
...
Chris76
1 year, 5 months ago
Selected Answer: A
A & B are needed to achieve the goal. But the question asks which one needs to be done FIRST. Hence its A, aka ensuring you have a management identity assigned to the VM. And only then configure what access that managed identity has from within the IAM of the RG
upvoted 4 times
...
lokii9980
1 year, 6 months ago
Once the Managed Identity for VM1 is enabled, you can grant the necessary permissions to the service running on VM1 to manage the resources in RG1 by using the identity of VM1. This can be done by modifying the Access control (IAM) settings of RG1 or the specific resources within RG1 as needed, and adding the Managed Identity of VM1 with the appropriate role-based access control (RBAC) role.
upvoted 4 times
...
kklohit
1 year, 7 months ago
Selected Answer: A
By modifying the Managed Identity settings of VM1, you can enable a system-assigned managed identity for the virtual machine. This identity can then be used to authenticate to Azure resources without the need for credentials. By doing this, the services running on VM1 will be able to manage the resources in RG1 using the identity of VM1.
upvoted 2 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 ...