Which Certificate from Vault1 for WebApp1 TLS?
Short answer
B Use Cert1 or Cert2 because App Service only supports importing PKCS#12 (PFX) certificates directly from Key Vault.
Question
-
-
-
-
-
-
- 
Key Takeaways
App Service Key Vault certificate integration only supports PFX (PKCS#12) format; PEM certificates cannot be imported directly from the vault.
Azure App Service requires certificates imported from Key Vault to be in PFX (PKCS#12) format. This page establishes that only Cert1 and Cert2 meet the format requirement to configure WebApp1 for TLS.
Common mistake: Choosing E because PEM certificates can technically be used for TLS if converted to PFX locally first, but they cannot be used directly from Key Vault.
Expert Analysis
Why the Answer Is Correct
To configure TLS for WebApp1 using a certificate stored in Azure Key Vault, the certificate must be in PKCS#12 (PFX) format. Azure App Service's native Key Vault integration does not support importing PEM certificates directly. Cert1 and Cert2 are both in PKCS#12 format, making them the only valid choices for this configuration.Why the Other Options Are Wrong
Options including Cert3 and Cert4 (C, D, and E) are incorrect because these certificates are in PEM format. While PEM certificates can be used for TLS if manually converted and uploaded as PFX, they cannot be directly utilized from Key Vault by App Service. Option A is incorrect because it unnecessarily restricts the choice to Cert1 only, excluding the equally valid Cert2.Community Comment Notes
Community members correctly noted that "Azure App Service doesn't directly accept PEM format" and requires conversion to PFX, as TodRose highlighted. Another user pointed out the specific Microsoft documentation stating you can "only import pfx certificate from the vault", confirming that PEM certificates (Cert3 and Cert4) are not directly supported for this scenario.Official Reference
This link opens the official vendor documentation in a new tab.
Exam Strategy
When asked about App Service TLS certificates from Key Vault, immediately eliminate any PEM format certificates. App Service only supports importing PFX (PKCS#12) certificates directly from Key Vault.
Community Votes
80% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 14 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 14
-
6c05b3d 👍 4The correct answer is: B. Cert1 or Cert2 only These certificates are in PKCS#12 format, which is ideal for use with TLS on WebApp1. .................................................................................................................................... Cert3 and Cert4 are in PEM format. While PEM can be used for TLS, it usually requires the server to support PEM format certificates, which is less common in Azure Web Apps directly.
-
TodRose 👍 4 Answered BThe answer is correct B. Azure App Service doesn't directly accept PEM format. Instead, you need to convert the PEM file into a PFX
-
akinz 👍 3I still think option B is correct . Though both PEM and pfx would work, with .pem requiring conversion to pfx . I think you can only import pfx certificate from the vault. See https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2CRBAC#import-a-certificate-from-key-vault. Note you should be able to use both key length ; 2k /4k
-
Dankho 👍 3 Answered B2nd time voting sorry... Gemini seems to prefer B. B. Cert1 or Cert2 only Here's the explanation: PKCS#12 format certificates are generally more versatile and can be used in various scenarios, including Azure Key Vault. PEM format certificates, while widely used, may have limitations in certain Azure services.
-
Jo696 👍 2 Answered BThis is a tricky one as technically you can use both, PEM would just require converting to PKCS#12. I think as there is an extra step involved, maybe B....
Show 9 more comments
-
58b2872 👍 2 Answered BCert1 and Cert2 meet the requirements as they are in PKCS#12 format and have valid key sizes.
-
Megabyte10 👍 2 Answered BB is the practical answer. The answer the test wants.
-
[Removed] 👍 1 Answered BB is correct All of these certificates can be used to configure TLS for WebApp1, but PKCS#12 is typically the more straightforward option in Azure Web Apps. To meet the technical requirements, especially following the principle of least privilege and proper scope of permissions, the best certificates are Cert1 or Cert2.
-
Dankho 👍 1 Answered DTechnically they can all be used. If you see DER content type or DSA Key Type, or low sizes like 512 or 1024 then you don't want to use, at least that's what I got after my conversation with d
-
Dankho 👍 1 Answered EI'm going to go out on a limb and say that they all can be used, I mean all of you are saying it but not saying it.
-
155e6a0 👍 1E is correct although PFX or P12 are mostly used with Windows and PEM are mostly used with Apache Linux.
-
Adx_YT 👍 3 Answered ETechnically all CAN be used
-
Sickcnt 👍 2 Answered BVoting B
-
siheom 👍 2 Answered DVOTE D
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-104 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AZ-104 Practice Test →