Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-204 Exam - Topic 5 Question 115 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 115
Topic #: 5
[All AZ-204 Questions]

You are developing an Azure Function that calls external APIs by providing an access token for the API. The access token is stored in a secret named token in an Azure Key Vault named mykeyvault.

You need to ensure the Azure Function can access to the token. Which value should you store in the Azure Function App configuration?

A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Gerry
4 months ago
Just to clarify, the secret name must match exactly, right?
upvoted 0 times
...
Lavonne
5 months ago
Wait, are you sure that's the only way?
upvoted 0 times
...
Elina
5 months ago
Totally agree, that's the best practice!
upvoted 0 times
...
Shawnta
5 months ago
I think Option B looks promising too.
upvoted 0 times
...
Domitila
5 months ago
You need to use the Key Vault reference in the app settings.
upvoted 0 times
...
Chauncey
6 months ago
I vaguely recall that we should use a specific syntax for accessing the Key Vault secrets, but I can't remember the exact details.
upvoted 0 times
...
Edelmira
6 months ago
I’m a bit confused about whether we need to include the vault name in the configuration or just the secret name.
upvoted 0 times
...
Yen
6 months ago
I think we practiced a similar question where we had to retrieve secrets from Key Vault. I feel like it's related to the connection string format.
upvoted 0 times
...
Valentine
6 months ago
I remember something about using the Key Vault reference in the app settings, but I'm not sure which format to use.
upvoted 0 times
...
Idella
6 months ago
I've got a good handle on this. I think Option B is the way to go - storing the Key Vault name in the Azure Function's configuration. That way, the Azure Function can use the managed identity to access the secret in the Key Vault.
upvoted 0 times
...
Clorinda
7 months ago
Okay, let me think this through step-by-step. The Azure Function needs to access a secret stored in Azure Key Vault, so I need to make sure the configuration is set up correctly to allow that. I'll carefully review each option and consider the implications.
upvoted 0 times
...
Lauryn
7 months ago
Hmm, I'm a bit confused about the different options here. I need to make sure I understand the differences between the configuration settings and how they impact the Azure Function's ability to access the secret.
upvoted 0 times
...
Peggie
7 months ago
This looks like a straightforward question about accessing a secret stored in Azure Key Vault from an Azure Function. I think the key is to understand the different ways the Azure Function can access the secret.
upvoted 0 times
...
Glendora
1 year ago
Option B, the Key Vault URI? More like Key Vault U-R-I-ght, amirite?
upvoted 0 times
Georgeanna
11 months ago
Definitely, the Key Vault URI is essential for accessing the token securely.
upvoted 0 times
...
Jarod
12 months ago
I think Option B is the right choice for storing the access token.
upvoted 0 times
...
Alyce
1 year ago
Haha, good one! Option B it is.
upvoted 0 times
...
Brandon
1 year ago
Haha, good one! Key Vault U-R-I-ght!
upvoted 0 times
...
German
1 year ago
Yes, you are correct! Option B is the Key Vault URI.
upvoted 0 times
...
Regenia
1 year ago
Yes, you are right! Option B is the Key Vault URI.
upvoted 0 times
...
...
Aileen
1 year ago
Hmm, this feels like a job for the Azure Key Vault Ninjas. Where's my shuriken?
upvoted 0 times
...
Yun
1 year ago
Option A? Really? Who would store the actual token in the app configuration? *facepalm*
upvoted 0 times
...
Erick
1 year ago
Hold up, is this a trick question? Option D is clearly the right choice, why complicate things?
upvoted 0 times
Jacklyn
11 months ago
Let's go with Option D then, keep it simple.
upvoted 0 times
...
Marshall
11 months ago
I see your point, but I still believe Option D is the most straightforward.
upvoted 0 times
...
Laurel
11 months ago
But what about Option A? It could also work.
upvoted 0 times
...
Suzi
11 months ago
I think Option D is the best choice.
upvoted 0 times
...
Katie
11 months ago
Let's go with Option D then, better safe than sorry.
upvoted 0 times
...
Alishia
11 months ago
I see your point, but I still believe Option D is the most secure.
upvoted 0 times
...
Justine
11 months ago
But what about Option A? It could also work.
upvoted 0 times
...
Erinn
11 months ago
I think Option D is the best choice.
upvoted 0 times
...
...
Dorothy
1 year ago
I also think Option C is the best choice, it aligns with the requirement to access the token securely.
upvoted 0 times
...
Kenneth
1 year ago
I believe Option C is the correct choice, as it seems to be related to accessing the token from the Key Vault.
upvoted 0 times
...
Emile
1 year ago
I agree with Deane, it's important for the Azure Function to access the token securely.
upvoted 0 times
...
Nickolas
1 year ago
I'm leaning towards Option C. Directly referencing the secret name in the Key Vault makes the most sense.
upvoted 0 times
Louis
1 year ago
Yeah, Option C makes sense. It's important to securely reference the secret in the Key Vault.
upvoted 0 times
...
Lakeesha
1 year ago
I agree, Option C seems like the most logical choice for accessing the token.
upvoted 0 times
...
Micaela
1 year ago
I think Option C is the way to go. It's straightforward and secure.
upvoted 0 times
...
...
Deane
1 year ago
I think we should store the token value in the Azure Function App configuration.
upvoted 0 times
...
Arlyne
1 year ago
Option B looks good, the Key Vault URI seems like the way to go here.
upvoted 0 times
Felicidad
1 year ago
Yes, the Key Vault URI in Option B will allow the Azure Function to access the token securely.
upvoted 0 times
...
Felicidad
1 year ago
I agree, Option B with the Key Vault URI is the correct choice.
upvoted 0 times
...
...

Save Cancel