Azure MFA for Credential Encryption During Deployment
Short answer
B Azure MFA does not encrypt credentials; Azure Key Vault is required for secure storage and encryption of secrets.
Question
the solution satisfies the requirements.
You have been informed by your superiors of the company's intentions to automate server deployment to Azure. There is, however, some concern that
administrative credentials could be uncovered during this process.
You are required to make sure that during the deployment, the administrative credentials are encrypted using a suitable Azure solution.
Solution: You recommend the use of Azure Multi-Factor Authentication (MFA).
Does the solution meet the goal?
Key Takeaways
The question tests the distinction between identity governance and data security; the trap is assuming any 'security' feature like MFA protects stored secrets, whereas Key Vault is required for encryption.
This question evaluates whether Azure Multi-Factor Authentication (MFA) can encrypt administrative credentials during automated server deployment. The correct answer is B, as MFA is an authentication control, not a data protection service.
Common mistake: Many learners choose A because they associate 'security' with MFA without reading the specific requirement for 'encryption' of credentials. They confuse access control with data confidentiality.
Expert Analysis
Why the Answer Is Correct
The solution does not meet the goal because Azure Multi-Factor Authentication (MFA) is designed to verify user identity during login, not to store or encrypt secrets. MFA adds a second factor to authentication but provides no mechanism for protecting the confidentiality of administrative credentials themselves during deployment. To encrypt and securely store these credentials, you must use a dedicated secrets management service like Azure Key Vault.
Why the Other Options Are Wrong
Option A is incorrect because it validates a flawed technical premise. MFA cannot encrypt data; it only challenges the user for additional proof of identity. Using MFA would leave the plaintext credentials exposed in scripts or configuration files, defeating the purpose of encryption.
Community Comment Notes
Community consensus strongly supports Option B. Users like jgalanj noted that the keyword 'credentials' points directly to Key Vault. Dennx clarified that "MFA adds an aditional layer to the authentication process, but it doesn't keep your credential safe." Another commenter emphasized that "Key Vault will protect credentials," highlighting the correct architectural component for this scenario.
Official Reference
https://docs.microsoft.com/en-us/azure/key-vault/general/overview
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question asks about securing passwords, keys, or certificates, immediately think of Azure Key Vault. Do not confuse it with Azure Active Directory features like MFA or Conditional Access, which handle who gets in, not what data is protected.
Frequently Asked Questions
Why isn't MFA enough to secure credentials?
What Azure service should I use instead of MFA for secrets?
Discussion 34 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 30 of 34
-
jgalanj 👍 62key word = concern that administrative CREDENTIALS could be uncovered during this process = Key Vault
-
Dennx 👍 38MFA adds an aditional layer to the authentication process, but it doesn't keep your credential safe.
-
BeauChateau 👍 14 Answered BNo, the recommended solution of Azure Multi-Factor Authentication (MFA) does not encrypt administrative credentials during server deployment to Azure. MFA is a solution that adds an additional layer of authentication to the login process, and it can help prevent unauthorized access to resources. To encrypt administrative credentials during server deployment to Azure, a better solution would be to use Azure Key Vault. Azure Key Vault is a cloud-based service that provides secure storage of keys, secrets, and certificates. By storing the administrative credentials in Azure Key Vault, they can be encrypted and protected from unauthorized access.
-
azzaa 👍 7MFA is authenticating a login. Key Vault will protect credentials
-
nikee000 👍 5Answer is Correct. It should be Azure Key Vault. Azure Key Vault is a secure secrets store, providing management for secrets, keys, and certificates, all backed by Hardware Security Modules Source: https://docs.microsoft.com/en-us/azure/key-vault/general/overview
Show 25 more comments
-
MissLuka 👍 5I just passed, a variation of MFA question was there so I recommend you guys to review it as I had 5 questions concerning MFA, SSO and autorization
-
glhs 👍 5B is correct. A vault solution is needed
-
shadeey 👍 4Correct!
-
JG990 👍 3 Answered BMFA is used to authenticate the user not to secure your credentials.
-
himanshu_90677 👍 3Azure key vault
-
kahla 👍 2 Answered BAzure MFA enhances login security by requiring multiple verification steps but does not encrypt or securely store administrative credentials during automated deployments. To protect credentials during deployment, Azure Key Vault should be used.
-
LePastore 👍 2 Answered BNo. The solution is to use Azure Key Vault. MFA is a security policy implemented for user login.
-
Said Ismail 👍 2 Answered B. The solution is to use Azure Key Vault. MFA is a security policy implemented for user login.
-
intentando 👍 2 Answered Bhttps://learn.microsoft.com/es-es/entra/identity/authentication/concept-mfa-howitworks
-
Insanewhip 👍 2B is the correct answer. The solution should be Azure Key Vault.
-
GeeKaizer1 👍 2Answer is No, it should be Key Vault
-
ElPitu97 👍 2 Answered Bno key vault correct answer
-
rameshsee 👍 2Selected Answer: B
-
Mahanad 👍 1 Answered BAzure Multi-Factor Authentication (MFA) adds an extra layer of security by requiring users to verify their identity using two or more authentication methods. It does not encrypt administrative credentials during automated server deployment. The appropriate solution is Azure Key Vault, which securely stores and manages passwords, secrets, encryption keys, and certificates.
-
arjunyv2022 👍 1 Answered BAzure Multi-Factor Authentication (MFA) is for user authentication and not for encrypting administrative credentials, the solution does not meet the goal. Instead, Azure Key Vault should be used for secure credential management
-
Kanders 👍 1B. No - does not meet goal due to MFA is used to add authentication layer for user access, not to encrypt credentials. Correct solution is Azure Key Vault.
-
AlekksMaciel 👍 1 Answered BO MFA adiciona uma camada adicional ao processo de autenticação, mas não mantém sua credencial segura.
-
chartanalyst 👍 1https://docs.microsoft.com/en-us/azure/virtual-machines/infrastructure-automation
-
tojatin 👍 1 Answered BUse azure Key Vault https://docs.microsoft.com/en-us/azure/vpn-gateway/design
-
deyson 👍 1 Answered BNo, completly unrelated. This is a great example to use Azure Key-Vaults
-
xxx_111_yyy_222 👍 1 Answered Akey vault to encrypt credentials
-
maysonazure 👍 1MFA does not encrypt passwords.
-
cnuila 👍 1 Answered BCorrect Answer is key Vault
-
islacks 👍 1 Answered Bshould be azure key-vault
-
Zaidsdb 👍 1 Answered Bonly the azure key vault
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-900 Questions
Access 90 questions with complete answers and detailed explanations.
View Full AZ-900 Practice Test →