Which Certificate from Vault1 for WebApp1 TLS?

Create and configure Azure App Service
Answer Correct answer: B — Use Cert1 or Cert2 because App Service only supports importing PKCS#12 (PFX) certificates directly from Key Vault.

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - ADatum Corporation is consulting firm that has a main office in Montreal and branch offices in Seattle and New York. Existing Environment - Azure Environment - ADatum has an Azure subscription that contains three resource groups named RG1, RG2, and RG3. The subscription contains the storage accounts shown in the following table. The subscription contains the virtual machines shown in the following table. The subscription has an Azure container registry that contains the images shown in the following table. The subscription contains the resources shown in the following table. Azure Key Vault - The subscription contains an Azure key vault named Vault1. Vault1 contains the certificates shown in the following table. Vault1 contains the keys shown in the following table. Microsoft Entra Environment - ADatum has a Microsoft Entra tenant named adatum.com that is linked to the Azure subscription and contains the users shown in the following table. The tenant contains the groups shown in the following table. The adatum.com tenant has a custom security attribute named Attribute1. Planned Changes - ADatum plans to implement the following changes: • Configure a data collection rule (DCR) named DCR1 to collect only system events that have an event ID of 4648 from VM2 and VM4. • In storage1, create a new container named cont2 that has the following access policies: o Three stored access policies named Stored1, Stored2, and Stored3 o A legal hold for immutable blob storage • Whenever possible, use directories to organize storage account content. • Grant User1 the permissions required to link Zone1 to VNet1. • Assign Attribute1 to supported adatum.com resources. • In storage2, create an encryption scope named Scope1. • Deploy new containers by using Image1 or Image2. Technical Requirements - ADatum must meet the following technical requirements: • Use TLS for WebApp1. • Follow the principle of least privilege. • Grant permissions at the required scope only. • Ensure that Scope1 is used to encrypt storage services. • Use Azure Backup to back up cont1 and share1 as frequently as possible. • Whenever possible, use Azure Disk Encryption and a key encryption key (KEK) to encrypt the virtual machines. You need to configure WebApp1 to meet the technical requirements. Which certificate can you use from Vault1? - image - image - image - image - image - image - image - image

  1. Cert1 only
  2. Cert1 or Cert2 only Correct Answer
  3. Cert1 or Cert3 only
  4. Cert3 or Cert4 only
  5. Cert1, Cert2 Cert3, or Cert4

Community Votes

B
80%
E
20%

80% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

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.

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.

Community Discussion (14 comments)

58b2872 👍 2 Selected: B
Cert1 and Cert2 meet the requirements as they are in PKCS#12 format and have valid key sizes.
TodRose 👍 4 Selected: B
The answer is correct B. Azure App Service doesn't directly accept PEM format. Instead, you need to convert the PEM file into a PFX
Adx_YT 👍 3 Selected: E
Technically all CAN be used
Megabyte10 👍 2 Selected: B
B is the practical answer. The answer the test wants.
Dankho 👍 3 Selected: B
2nd 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.
Dankho 👍 1 Selected: E
I'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.
Dankho 👍 1 Selected: D
Technically 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
akinz 👍 3
I 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
[Removed] 👍 1 Selected: B
B 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.
155e6a0 👍 1
E is correct although PFX or P12 are mostly used with Windows and PEM are mostly used with Apache Linux.
Jo696 👍 2 Selected: B
This 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....
Sickcnt 👍 2 Selected: B
Voting B
6c05b3d 👍 4
The 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.
siheom 👍 2 Selected: D
VOTE D

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

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

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.

Related Analysis

Practice All AZ-104 Questions

Access 100 questions with complete answers and detailed explanations.

View Full AZ-104 Practice Test →

← Back to AZ-104 Study Guide