exam questions

Exam AZ-500 All Questions

View all questions & answers for the AZ-500 exam

Exam AZ-500 topic 3 question 49 discussion

Actual exam question from Microsoft's AZ-500
Question #: 49
Topic #: 3
[All AZ-500 Questions]

You have a web app hosted on an on-premises server that is accessed by using a URL of https://www.contoso.com.
You plan to migrate the web app to Azure. You will continue to use https://www.contoso.com.
You need to enable HTTPS for the Azure web app.
What should you do first?

  • A. Export the public key from the on-premises server and save the key as a P7b file.
  • B. Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES.
  • C. Export the public key from the on-premises server and save the key as a CER file.
  • D. Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using AES256.
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
wongtony
Highly Voted 3 years, 3 months ago
Upvote here if you was shocked the correct answer is not D (I know if you actually have read the document it's B)
upvoted 137 times
PointsE
2 years, 11 months ago
Ironic, as this is a security focused exam...
upvoted 10 times
cfsxtuv33
2 years, 9 months ago
I'm in agreement 100%
upvoted 6 times
...
...
cfsxtuv33
2 years, 9 months ago
Shocked...yeah, absolutely
upvoted 6 times
EM1234
1 year, 11 months ago
I would have never thought that it was like this. I am so glad I saw this. Sad though, that it is this way.
upvoted 1 times
...
...
madhatter
2 years ago
Still picking AES256 for the principal. I don't care about getting the answer wrong here. Sticking to industry standard, yes I am dead serious LOL
upvoted 16 times
...
...
Coldriver
Highly Voted 3 years, 8 months ago
https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate Private certificate requirements: Azure Web Apps does not support AES256 and all pfx files should be encrypted with TripleDES.
upvoted 55 times
costaluisc
2 years, 3 months ago
Its supported now. The documentation has been updated.
upvoted 8 times
Panno
2 years, 2 months ago
It hasn't been updated, it is still 3DES in the link provided by MS.
upvoted 4 times
Strive_for_greatness_kc
9 months, 2 weeks ago
Both are supported now : "Exported as a password-protected PFX file, encrypted using triple DES." Note : OpenSSL v3 changed default cipher from 3DES to AES256, but this can be overridden on the command line -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg SHA1. OpenSSL v1 uses 3DES as default, so the PFX files generated are supported without any special modifications." Even if I will be wrong I will answer D at the exam
upvoted 2 times
...
...
...
...
randy0077
Most Recent 4 weeks, 1 day ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Crbac%2Cazure-cli#:~:text=from%20the%20internet.-,Private%20certificate%20requirements,custom%20domain%20in%20a%20TLS%20binding%2C%20the%20certificate%20must%20meet%20these,-additional%20requirements%3A
upvoted 1 times
...
mrt007
7 months ago
To enable HTTPS for the Azure web app, you should first export the private key from the on-premises server and save the key as a PFX file. This is because the private key is required to establish the secure connection. The encryption method can be either TripleDES or AES256, but AES256 is more secure. So, the correct answer is D. Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using AES256. After that, you can upload this PFX file to your Azure Web App.
upvoted 2 times
...
TheProfessor
11 months, 4 weeks ago
OpenSSL v3 changed default cipher from 3DES to AES256, but this can be overridden on the command line -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -macalg SHA1. OpenSSL v1 uses 3DES as default, so the PFX files generated are supported without any special modifications.
upvoted 4 times
...
ESAJRR
1 year, 1 month ago
Selected Answer: B
B. Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES.
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Private certificate requirements The free App Service managed certificate and the App Service certificate already satisfy the requirements of App Service. If you choose to upload or import a private certificate to App Service, your certificate must meet the following requirements: Exported as a password-protected PFX file, encrypted using triple DES. https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex
upvoted 2 times
...
ITFranz
1 year, 1 month ago
Very surprised about this answer. I picked AES256 as well. The answer is right, listed in the documentation. B
upvoted 2 times
...
alfaAzure
1 year, 1 month ago
Selected Answer: D
Letter D. When migrating a web app to Azure and continuing to use the same URL with HTTPS (https://www.contoso.com), you will need to configure an SSL certificate for the Azure web app. To do this, you need to export the private key from the on-premises server, create a PFX file containing the private key and the associated public key (certificate), and ensure that it's encrypted using a strong encryption algorithm like AES256. Once you have the PFX file with the private key and certificate, you can upload and configure the SSL certificate in the Azure web app to enable HTTPS for the domain.
upvoted 2 times
...
ServerBrain
1 year, 2 months ago
TripleDES all day.
upvoted 1 times
...
massnonn
1 year, 3 months ago
Yes, Microsoft Azure supports AES-256 encryption for securing data at rest. Azure provides various services that can be used to build web applications, and depending on the specific service you are using, AES-256 encryption can be implemented. For example, if you are using Azure App Service to host your web application, you can enable Azure Storage Service Encryption (SSE) for the underlying storage account. SSE automatically encrypts data at rest using AES-256 encryption. Additionally, you can also implement client-side encryption within your web application to further secure sensitive data before storing it in Azure. It's worth noting that encryption is a multi-layered approach, and while AES-256 is a strong encryption algorithm, it's important to consider other security measures such as access controls, network security, and secure coding practices to ensure a comprehensive security posture for your web application.
upvoted 1 times
...
Qadour
1 year, 4 months ago
"OpenSSL v3 creates certificate serials with 20 octets (40 chars) as the X.509 specification allows. Currently only 10 octets (20 chars) is supported when uploading certificate PFX files. OpenSSL v3 also changed default cipher from 3DES to AES256, but this can be overridden on the command line. OpenSSL v1 uses 3DES as default and only uses 8 octets (16 chars) in the serial, so the PFX files generated are supported without any special modifications." Correct Answer for me is D
upvoted 1 times
_fvt
1 year, 3 months ago
No it says exactly that the correct answer is B - Triple DES. Telling you that if you use OpenSSLv3 you can usehttps://www.examtopics.com/exams/microsoft/az-500/view/20/# command-line argument to override the cipher back to 3DES. OR use OpenSSL v1 so that you don't need to change anything.
upvoted 1 times
_fvt
1 year, 3 months ago
Sorry, fixing my comment without the link in the middle...: No it says exactly that the correct answer is B - Triple DES. Telling you that if you use OpenSSLv3 you can use command-line argument to override the cipher back to 3DES. OR use OpenSSL v1 so that you don't need to change anything.
upvoted 1 times
...
...
...
Metwally
1 year, 5 months ago
Selected Answer: B
Reference https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Cportal#private-certificate-requirements
upvoted 1 times
...
zellck
1 year, 5 months ago
Selected Answer: B
B is the answer. https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Cportal#private-certificate-requirements If you choose to upload or import a private certificate to App Service, your certificate must meet the following requirements: - Exported as a password-protected PFX file, encrypted using triple DES.
upvoted 2 times
...
CKR135
1 year, 5 months ago
Selected Answer: B Exported as a password-protected PFX file, encrypted using triple DES.
upvoted 1 times
...
Macke53
1 year, 6 months ago
Selected Answer: B
It is still triple DES Exported as a password-protected PFX file, encrypted using triple DES. Contains private key at least 2048 bits long Contains all intermediate certificates and the root certificate in the certificate chain. https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Cportal#private-certificate-requirements
upvoted 2 times
...
majstor86
1 year, 7 months ago
Selected Answer: B
Correction. B. Export the private key from the on-premises server and save the key as a PFX file that is encrypted by using TripleDES. In official documentation only triple DES encryption is supported : https://learn.microsoft.com/en-us/azure/app-service/configure-ssl-certificate?tabs=apex%2Cportal
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