exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 2 question 41 discussion

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

HOTSPOT -
You are building an application that will run in a virtual machine (VM). The application will use Managed Service Identity (MSI).
The application uses Azure Key Vault, Azure SQL Database, and Azure Cosmos DB.
You need to ensure the application can use secure credentials to access these services.
Which authorization methods should you recommend? 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:

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
Gorha
Highly Voted 5 years, 2 months ago
The question about authorization methods, not what identity to use, is already mentioned in the question: The application will use Managed Service Identity (MSI) Key Vault -> RBAC Azure SQL -> RBAC Cosmos DB -> HMAC (Azure Cosmos DB uses hash-based message authentication code (HMAC) for authorization) https://docs.microsoft.com/en-us/azure/cosmos-db/database-security#how-does-azure-cosmos-db-secure-my-database
upvoted 53 times
nieuw
5 years, 1 month ago
Agreed. This is about authorization methods.
upvoted 3 times
...
...
akamal
Highly Voted 5 years ago
Key Vault -> RBAC Azure SQL -> RBAC Cosmos DB -> HMAC the question is asking about authorization method for the three resources... Note that " Managed Service Identity (MSI)" is used for authentication then authorization is granted and attached to the MSI through the suitable way of the Azure resource like RBAC or HMAC https://docs.microsoft.com/en-us/azure/key-vault/general/overview-security#:~:text=To%20access%20a%20key%20vault,a%20Key%20Vault%20access%20policy. https://docs.microsoft.com/en-us/azure/azure-sql/database/security-overview https://docs.microsoft.com/en-us/azure/cosmos-db/database-security https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
upvoted 37 times
Shunya
4 years, 11 months ago
Perfect explanation with right references
upvoted 2 times
...
...
Berlus
Most Recent 4 years, 2 months ago
This question is certainly about authorization hence the answer should be:("Which authorization methods should you recommend?") Key Vault - RBAC Azure SQL - RBAC Cosmos DB - RBAC
upvoted 1 times
...
j888
4 years, 3 months ago
Answer is correct. We group all of these resources or applications as a user-defined managed ID and then grant access policy on the Key vault. RBAC is different this is the complete uniqueness of manage identity.
upvoted 1 times
...
azurecert2021
4 years, 4 months ago
given asnwer is correct as all 3 are part of i can use managed identities when targe is Key vault ,Azure SQL,Cosmos DB You can use the Managed Service Identity of the virtual machine to securely access the Azure Key vault service You can use the Managed Service Identity of the virtual machine to securely access the Azure SQL database service You can use the Managed Service Identity of the virtual machine to securely access the Azure Cosmos DB service https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview
upvoted 1 times
Aghora
4 years, 4 months ago
yes but thats for authenticating not authorizing ... please read comments above to understand the difference
upvoted 1 times
...
...
glam
4 years, 4 months ago
If Authorization, I will say that the correct answers are: Key Vault -> RBAC Azure SQL -> RBAC Cosmos DB -> HMAC If the question is about authentication: Key Vault -> MSI Azure SQL -> MSI Cosmos DB -> MSI
upvoted 4 times
...
Bkaelt
4 years, 5 months ago
RBAC<RBAC<HMAC
upvoted 1 times
...
milind8451
4 years, 5 months ago
Since the question asks about Authorization not Authentication so Ans should be - - RBAC - RBAC - HMAC If ques was about Authentication then it would be MSI for all 3. Pay attention on wordings of ques, this is important in MS Exams.
upvoted 1 times
...
sanketshah
4 years, 6 months ago
given answer is correct
upvoted 1 times
...
Abbas
4 years, 6 months ago
Agree with Orcruin...If Authorization, I will say that the correct answers are: Key Vault -> RBAC Azure SQL -> RBAC Cosmos DB -> HMAC If the question is about authentication: Key Vault -> MSI Azure SQL -> MSI Cosmos DB -> MSI
upvoted 6 times
...
orcruin
4 years, 7 months ago
If Authorization, I will say that the correct answers are: Key Vault -> RBAC Azure SQL -> RBAC Cosmos DB -> HMAC If the question is about authentication: Key Vault -> MSI Azure SQL -> MSI Cosmos DB -> MSI
upvoted 6 times
...
certmonster
4 years, 8 months ago
KeyVault -> RBAC (https://docs.microsoft.com/en-us/azure/key-vault/general/secure-your-key-vault) Azure SQL -> RBAC (https://docs.microsoft.com/en-us/azure/azure-sql/database/security-overview) Cosmos DB -> HMAC (https://docs.microsoft.com/en-us/azure/cosmos-db/database-security)
upvoted 1 times
...
alokpsingh
4 years, 9 months ago
Correct answer is - RBAC, RBAC, HMAC
upvoted 2 times
...
PassForSure007
4 years, 9 months ago
The authentication/Authorization won't change the answer check first paragraph in this link https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-msi "Managed identities for Azure resources can authorize access to blob and queue data using Azure AD credentials from applications running in Azure virtual machines (VMs), function apps, virtual machine scale sets, and other services" Here it says that MSI authorize. On the hand, if using MSO is not providing authorization as well then what is the point of having it? MS introduced it to remove the Authentication/Authorization workload off the developers. So my answer is: MSI MSI HMAC
upvoted 1 times
...
dathwerth
4 years, 9 months ago
We have to identify which solution is the correct one: MSI, MSI, MSI vs RBAC, RBAC, HMAC. People say in the exam, it will be asked for the Authentication methods, so MSI makes sense as it forces us to use it in the introduction (makes sense the current answer). However, if it asks for the Authorization methods will go for RBAC, RBAC, HMAC?
upvoted 1 times
...
Rooh
4 years, 9 months ago
Correct Answer is: Key Vault -> RBAC Azure SQL -> RBAC Cosmos DB -> HMAC
upvoted 2 times
...
ravishankarj
4 years, 10 months ago
May be the answer is correct if question is about Authentication as informed by the user Gkilla https://www.examtopics.com/exams/microsoft/az-301/
upvoted 3 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 ...