exam questions

Exam SC-100 All Questions

View all questions & answers for the SC-100 exam

Exam SC-100 topic 1 question 21 discussion

Actual exam question from Microsoft's SC-100
Question #: 21
Topic #: 1
[All SC-100 Questions]

For an Azure deployment, you are designing a security architecture based on the Microsoft Cloud Security Benchmark.

You need to recommend a best practice for implementing service accounts for Azure API management.

What should you include in the recommendation?

  • A. application registrations in Azure AD
  • B. managed identities in Azure
  • C. Azure service principals with usernames and passwords
  • D. device registrations in Azure AD
  • E. Azure service principals with certificate credentials
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
mynk29
Highly Voted 2 years, 3 months ago
Selected Answer: A
It depends on what is "Service account" in the question. Microsoft benchmark recommends https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline to use OAuth 2.0 "Configure your Azure API Management instance to protect your APIs by using the OAuth 2.0 protocol with Azure AD." --> App registration AND managed identity for the "to allow your API Management instance to easily and securely access other Azure AD-protected resources, such as Azure Key Vault instead of using service principals." --> Managed Identity Its poorly worded question but I would choose A since key consideration for an API gateway in general is authentication of developers which warrants app registration.
upvoted 15 times
Gurulee
2 years, 2 months ago
Agreed 👍
upvoted 2 times
...
kalyankrishna1
1 year, 6 months ago
app reg, SPs with certs, managed Identities all eventually end up as service principals anyways and the most secure type of SP is a managed Identity, so B is the correct answer
upvoted 3 times
...
maku067
2 years, 3 months ago
At the begining I pointed to rather B but now I choose rather A. https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-aad#manually-enable-azure-ad-application-and-identity-provider Step 6
upvoted 4 times
...
smosmo
2 years, 3 months ago
I still think it is B: https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline in context with SERVICE PRINCIPALS in section IM3
upvoted 11 times
...
...
Rocko1
Highly Voted 2 years, 1 month ago
Selected Answer: B
managed identities in Azure recommended solution for service accounts
upvoted 12 times
...
MarcoHurry
Most Recent 3 months, 1 week ago
Selected Answer: B
I agree on B because in https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline at IM-3: Manage application identities securely and automatically we can read "use a Managed Service Identity generated by Azure Active Directory (Azure AD) to allow your API Management instance to easily and securely access etc..."
upvoted 1 times
...
Tony416
7 months ago
Selected Answer: B
Considering the following statement, I chose B because it mentions best practices for implementing service accounts. But it's tricky :S Statement: "You need to recommend a best practice for implementing service accounts for Azure API management."
upvoted 2 times
...
Ramye
1 year, 3 months ago
The keyword in the questions is “Implementing Service Accounts” and for the Managed Identity is the answer
upvoted 5 times
...
sherifhamed
1 year, 7 months ago
Selected Answer: B
B. Managed identities in Azure: Managed identities provide a way to automatically manage the credentials used by applications and services. Using managed identities is a best practice for securing access to Azure resources without the need for storing and managing credentials. It aligns with the principle of least privilege and reduces the risk associated with credential exposure.
upvoted 3 times
...
BlackZeros
1 year, 9 months ago
Selected Answer: B
Option B seems like the most secure option. https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline#im-3-manage-application-identities-securely-and-automatically
upvoted 1 times
...
Ario
1 year, 9 months ago
Selected Answer: E
Azure service principals with certificate credentials
upvoted 3 times
Ario
1 year, 9 months ago
B is the correct answer
upvoted 2 times
...
...
zellck
1 year, 11 months ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity A managed identity generated by Azure Active Directory (Azure AD) allows your API Management instance to easily and securely access other Azure AD-protected resources, such as Azure Key Vault. Azure manages this identity, so you don't have to provision or rotate any secrets.
upvoted 3 times
...
Tictactoe
1 year, 11 months ago
B right
upvoted 1 times
...
alifrancos
2 years ago
Selected Answer: B
it is Managed Identity, https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline IM-3
upvoted 6 times
...
shahnawazkhot
2 years ago
I think the answer should be between Service Principal options and managed identity option... And in these options, managed identity option is preferred here considering better security and convenience. Therefore, the correct answer appears to be option "B".
upvoted 1 times
...
etblue
2 years, 1 month ago
Refer to https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline IM-3 Manage application identities securely and automatically, selected answer should be B. There is nothing listed in API management security baseline regards to app registration. I do think by using managed identity would meant require earlier app registration as pre-requisite. Hence, answer B is more comprehensive.
upvoted 4 times
...
AJ2021
2 years, 1 month ago
Selected Answer: B
Configuration Guidance: Use a Managed Service Identity generated by Azure Active Directory (Azure AD) to allow your API Management instance to easily and securely access other Azure AD-protected resources, such as Azure Key Vault instead of using service principals. Managed identity credentials are fully managed, rotated, and protected by the platform, avoiding hard-coded credentials in source code or configuration files. https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline
upvoted 4 times
...
Fal991l
2 years, 1 month ago
Selected Answer: B
ChatGPT:The Microsoft Cloud Security Benchmark recommends using managed identities in Azure as a best practice for implementing service accounts for Azure API management. Managed identities are a secure and automated way to provide applications running on Azure services with an automatically managed identity in Azure Active Directory (Azure AD). By using managed identities, you can avoid storing credentials in your code or configuration files, which reduces the risk of exposing sensitive information. Therefore, the correct answer is B. Managed identities in Azure.
upvoted 3 times
...
PeteNZ
2 years, 1 month ago
B - managed identities because: https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/service-accounts-introduction-azure
upvoted 1 times
...
PeteNZ
2 years, 1 month ago
Selected Answer: B
https://learn.microsoft.com/en-us/security/benchmark/azure/baselines/api-management-security-baseline
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago