exam questions

Exam AZ-303 All Questions

View all questions & answers for the AZ-303 exam

Exam AZ-303 topic 2 question 22 discussion

Actual exam question from Microsoft's AZ-303
Question #: 22
Topic #: 2
[All AZ-303 Questions]

You have an Azure key vault named KV1.
You need to implement a process that will digitally sign the blobs stored in Azure Storage.
What is required in KV1 to sign the blobs?

  • A. a key
  • B. a secret
  • C. a certificate
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
jacovedo
Highly Voted 4 years, 6 months ago
Should be C. Distinction is between encrypting and signing. To encrypt, a secret is sufficient. To sign something, it needs to be related to an entity. A key nor a secret are capable to hold a reference to an entity, a certificate can.
upvoted 109 times
dandirindan
4 years, 4 months ago
great explanation
upvoted 4 times
...
jiantao_john_pan
4 years, 6 months ago
the following example support the answer that certificate in azure key vault can be used to sign a doc https://www.rahulpnath.com/blog/signing-a-pdf-file-using-azure-key-vault/
upvoted 5 times
...
kanweng
3 years, 2 months ago
Shoud A. both encrypting and signing. will need a Key . (notes a certificate contains a private key, but the certificate mainly used for TLS/SSL), but for encrypting and signing. you use a private key. (should not use secret for encrypt). https://docs.microsoft.com/en-us/rest/api/keyvault/keys/encrypt/encrypt https://docs.microsoft.com/en-us/rest/api/keyvault/keys/sign/sign if you are using Azure CLI. https://docs.microsoft.com/en-us/cli/azure/keyvault/key?view=azure-cli-latest#az-keyvault-key-encrypt
upvoted 1 times
...
...
gangas
Highly Voted 4 years, 5 months ago
C should be correct. Key is for Encryption keys, Secret is for connection strings and Certificate is for digitally signing.
upvoted 32 times
gangas
4 years, 5 months ago
I am backtracking from my above comment. Please remove. I cann't remove
upvoted 6 times
...
...
sandeepmalik
Most Recent 3 years, 2 months ago
In today's exam. Score 900+ Correct answer. C . certificate
upvoted 2 times
...
kanweng
3 years, 2 months ago
A. A Key .. https://docs.microsoft.com/en-us/rest/api/keyvault/keys/sign/sign
upvoted 1 times
...
Mist3
3 years, 4 months ago
Selected Answer: C
I would go for C
upvoted 2 times
...
plmmsg
3 years, 5 months ago
C. certificate
upvoted 1 times
...
RoamingDBA
3 years, 5 months ago
C / Certificate should be correct anser. Looking at the wording , What is required in KV1 to sign the blobs? SECRET is not stored "in" KV1. Its Certificate which is stored in KV1 that needs to be used for signing. You definitely need SECRET to access the KV1 but the question here it not about accessing KV1, its about what is needed to be stored in KV1 to sign. Following is different use case, but utilize the same concept. https://www.risual.com/2019/02/add-ssl-cert-to-azure-blob-storage-website/
upvoted 1 times
...
Mr_RJ
3 years, 5 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
AberdeenAngus
3 years, 6 months ago
I'm going with C (certificate). I think the cert is required to prove that the signature is from you and not someone else. "To create a digital signature, you need a signing certificate, which proves identity. When you send a digitally-signed macro or document, you also send your certificate and public key" https://support.microsoft.com/en-us/office/digital-signatures-and-certificates-8186cd15-e7ac-4a16-8597-22bd163e8e96
upvoted 1 times
...
SN9827
3 years, 6 months ago
Selected Answer: C
Certificates are used for signing process...
upvoted 1 times
...
Kunterbunt
3 years, 6 months ago
Selected Answer: C
Signing is done with Certificates
upvoted 3 times
...
ScubaDiver123456
3 years, 6 months ago
OK. I'm now voting that you need a key. This document from the blob storage SDK shows you how to perform a "sign" operation and it only requires the key from the vault Scroll down to the "sign" section https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-keyvault-keys/4.0.0/index.html
upvoted 1 times
...
ScubaDiver123456
3 years, 6 months ago
This is a tough one. Initially I answered that you needed the certificate but upon further digging, I found this very clear tutorial on what you need to sign files. The last section shows you need the secret associated with the signing certificate. https://www.ssl.com/how-to/code-signing-with-azure-key-vault/
upvoted 3 times
...
donathon
3 years, 7 months ago
C. Keys are used to generate certificate or secret. It can be managed or bring your own key. A secret is used to protect a password or perform authentication. A secret is anything that you want to tightly control access to, such as API encryption keys, passwords, or certificates. Vault provides encryption services that are gated by authentication and authorization methods. Certificate is used to sign something.
upvoted 2 times
...
Aaaashish
3 years, 7 months ago
must be "C" - https://docs.microsoft.com/en-us/azure/key-vault/general/integrate-databricks-blob-storage
upvoted 1 times
...
vaisat
3 years, 7 months ago
After reading provided documentation the answer is clear - secret.
upvoted 2 times
TheAzureArchitect
3 years, 6 months ago
After reading this comment, it's clear you didn't understand the question.
upvoted 1 times
...
...
poplovic
3 years, 7 months ago
any expert from the security domain will say "key" and it is backed by the Microsoft doc https://docs.microsoft.com/en-us/rest/api/keyvault/sign/sign a good way to answer this kind of question is to check the restful api request parameters.
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 ...