exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 5 question 3 discussion

Actual exam question from Microsoft's AZ-140
Question #: 3
Topic #: 5
[All AZ-140 Questions]

You have an Azure Virtual Desktop host pool named Pool1 and an Azure Automation account named Account1. Pool1 is integrated with an Azure Active Directory
Domain Services (Azure AD DS) managed domain named contoso.com.
You plan to configure scaling for Pool1 by using Azure Automation runbooks.
You need to authorize the runbooks to manage the scaling of Pool1. The solution must minimize administrative effort.
What should you configure?

  • A. a managed identity in Azure Active Directory (Azure AD)
  • B. a group Managed Service Account (gMSA) in Azure AD DS
  • C. a Connections shared resource in Azure Automation
  • D. a Run As account in Azure Automation
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
Nail
Highly Voted 3 years, 11 months ago
Correct
upvoted 13 times
...
picho707
Highly Voted 1 year, 9 months ago
This is the statement from Microsoft regarding this question. The answer is A because D will be deprecated on September 30, 2023. Important Azure Automation Run As Account will retire on September 30, 2023 and will be replaced with Managed Identities. Before that date, you'll need to start migrating your runbooks to use managed identities. For more information, see migrating from an existing Run As accounts to managed identity to start migrating the runbooks from Run As account to managed identities before 30 September 2023.
upvoted 6 times
...
lukiduc9625
Most Recent 2 months, 3 weeks ago
One question: why "a managed identity in Azure AD"? Pool1 is NOT integrated with Azure AD but with Azure AD DS
upvoted 1 times
...
Moot2
3 months ago
Selected Answer: A
A create managed identity https://learn.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script Azure automation account is already created
upvoted 1 times
...
jeff1988
5 months, 3 weeks ago
Selected Answer: A
To authorize Azure Automation runbooks to manage the scaling of your Azure Virtual Desktop host pool while minimizing administrative effort, you should configure a managed identity in Azure Active Directory (Azure AD). Managed identities simplify the process of granting the necessary permissions to Azure resources without the need for manual credential management. Therefore, the correct answer is: A. a managed identity in Azure Active Directory (Azure AD)
upvoted 1 times
...
[Removed]
12 months ago
Selected Answer: A
A. a managed identity
upvoted 1 times
...
Rednevi
1 year, 2 months ago
Selected Answer: A
"A managed identity from Microsoft Entra ID allows your runbook to easily access other Microsoft Entra protected resources. The identity is managed by the Azure platform and doesn't require you to provision or rotate any secrets. For more information about managed identities in Microsoft Entra ID, see Managed identities for Azure resources. Managed identities are the recommended way to authenticate in your runbooks, and is the default authentication method for your Automation account." https://learn.microsoft.com/en-us/azure/automation/automation-security-overview
upvoted 2 times
...
ESAJRR
1 year, 2 months ago
Selected Answer: A
A. a managed identity in Azure Active Directory (Azure AD)
upvoted 1 times
...
Judith1969
1 year, 5 months ago
A Azure Automation Run as accounts, including Classic Run as accounts have retired on 30 September 2023 and replaced with Managed Identities. You would no longer be able to create or renew Run as accounts through the Azure portal. https://learn.microsoft.com/en-us/azure/automation/migrate-run-as-accounts-managed-identity?tabs=sa-managed-identity
upvoted 2 times
...
Leocan
1 year, 10 months ago
Selected Answer: A
I take answer A because the Microsoft exam should adapt to the changes. Now that you have an Azure Automation account, you'll also need to set up a managed identity if you haven't already. Managed identities will help your runbook access other Azure AD-related resources as well as authenticate important automation processes. https://learn.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script#create-a-managed-identity
upvoted 2 times
...
jr_luciano
1 year, 11 months ago
Selected Answer: A
The answer is A
upvoted 1 times
...
scottims
2 years ago
A should be correct now but D was before As of April 1, 2023, Run As accounts no longer work. We recommend you use managed identities instead. Another great MS question. I wander if they accept both on the exam https://learn.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script#create-a-managed-identity
upvoted 2 times
...
Wahle
2 years, 2 months ago
A is correct (preferred), D is technically possible https://learn.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script This scaling tool uses a Run As account with Azure Automation. Azure Automation Run As accounts will retire on September 30, 2023. Microsoft won't provide support beyond that date. From now through September 30, 2023, you can continue to use Azure Automation Run As accounts. This scaling tool won't be updated to create the resources using managed identities, however, you can transition to use managed identities and will need to before then. For more information, see Migrate from an existing Run As account to a managed identity.
upvoted 1 times
...
Phani1701
2 years, 4 months ago
managed identity A managed identity from Azure Active Directory (Azure AD) allows your runbook to easily access other Azure AD-protected resources. The identity is managed by the Azure platform and doesn't require you to provision or rotate any secrets.
upvoted 2 times
...
kevino81
2 years, 5 months ago
Selected Answer: A
A is correct since Run as account will be removed "Azure Automation Run As Account will retire on September 30, 2023 and will be replaced with Managed Identities." https://learn.microsoft.com/en-us/azure/automation/automation-security-overview
upvoted 2 times
...
Magis
2 years, 5 months ago
Selected Answer: A
You can use both but manage identity minimize administrative effort. Strongly recommended to use by MS. I am using it a lot.
upvoted 1 times
...
helpdeskinfra
2 years, 7 months ago
Selected Answer: D
The solution must minimize administrative effort.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago