exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 4 question 78 discussion

Actual exam question from Microsoft's AZ-204
Question #: 78
Topic #: 4
[All AZ-204 Questions]

You manage an Azure Key Vault named kv1 of Standard SKU.

You plan to programmatically store in kv1 an asymmetric key pair and use the key pair for encryption and decryption.

You must develop an application named app1 that will access the key pair in kv1.

You need to configure an object to retrieve a key pair from kv1.

Which object should you use?

  • A. SecretClient
  • B. KeyVaultSettingsClient
  • C. CertificateClient
  • D. KeyClient
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
c01efe8
5 months, 1 week ago
Selected Answer: D
https://learn.microsoft.com/en-us/azure/key-vault/keys/quick-create-net
upvoted 3 times
1CY1
1 week, 6 days ago
Authenticate and create a client https://learn.microsoft.com/en-us/azure/key-vault/keys/quick-create-net#authenticate-and-create-a-client In this quickstart, DefaultAzureCredential authenticates to key vault using the credentials of the local development user logged into the Azure CLI. var keyVaultName = Environment.GetEnvironmentVariable("KEY_VAULT_NAME"); var kvUri = $"https://{keyVaultName}.vault.azure.net"; var client = new KeyClient(new Uri(kvUri), new DefaultAzureCredential());
upvoted 1 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 ...