New Year Sale 2026! 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
3 months ago
Just to clarify, the secret name must match exactly, right?
upvoted 0 times
...
Lavonne
3 months ago
Wait, are you sure that's the only way?
upvoted 0 times
...
Elina
3 months ago
Totally agree, that's the best practice!
upvoted 0 times
...
Shawnta
3 months ago
I think Option B looks promising too.
upvoted 0 times
...
Domitila
4 months ago
You need to use the Key Vault reference in the app settings.
upvoted 0 times
...
Chauncey
4 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
4 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
4 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
5 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
5 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
5 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
5 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
5 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
11 months ago
Option B, the Key Vault URI? More like Key Vault U-R-I-ght, amirite?
upvoted 0 times
Georgeanna
9 months ago
Definitely, the Key Vault URI is essential for accessing the token securely.
upvoted 0 times
...
Jarod
10 months ago
I think Option B is the right choice for storing the access token.
upvoted 0 times
...
Alyce
10 months ago
Haha, good one! Option B it is.
upvoted 0 times
...
Brandon
10 months ago
Haha, good one! Key Vault U-R-I-ght!
upvoted 0 times
...
German
10 months ago
Yes, you are correct! Option B is the Key Vault URI.
upvoted 0 times
...
Regenia
10 months ago
Yes, you are right! Option B is the Key Vault URI.
upvoted 0 times
...
...
Aileen
11 months ago
Hmm, this feels like a job for the Azure Key Vault Ninjas. Where's my shuriken?
upvoted 0 times
...
Yun
11 months ago
Option A? Really? Who would store the actual token in the app configuration? *facepalm*
upvoted 0 times
...
Erick
11 months ago
Hold up, is this a trick question? Option D is clearly the right choice, why complicate things?
upvoted 0 times
Jacklyn
9 months ago
Let's go with Option D then, keep it simple.
upvoted 0 times
...
Marshall
9 months ago
I see your point, but I still believe Option D is the most straightforward.
upvoted 0 times
...
Laurel
9 months ago
But what about Option A? It could also work.
upvoted 0 times
...
Suzi
9 months ago
I think Option D is the best choice.
upvoted 0 times
...
Katie
9 months ago
Let's go with Option D then, better safe than sorry.
upvoted 0 times
...
Alishia
10 months ago
I see your point, but I still believe Option D is the most secure.
upvoted 0 times
...
Justine
10 months ago
But what about Option A? It could also work.
upvoted 0 times
...
Erinn
10 months ago
I think Option D is the best choice.
upvoted 0 times
...
...
Dorothy
11 months ago
I also think Option C is the best choice, it aligns with the requirement to access the token securely.
upvoted 0 times
...
Kenneth
11 months 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
12 months ago
I agree with Deane, it's important for the Azure Function to access the token securely.
upvoted 0 times
...
Nickolas
12 months ago
I'm leaning towards Option C. Directly referencing the secret name in the Key Vault makes the most sense.
upvoted 0 times
Louis
10 months ago
Yeah, Option C makes sense. It's important to securely reference the secret in the Key Vault.
upvoted 0 times
...
Lakeesha
11 months ago
I agree, Option C seems like the most logical choice for accessing the token.
upvoted 0 times
...
Micaela
11 months ago
I think Option C is the way to go. It's straightforward and secure.
upvoted 0 times
...
...
Deane
12 months ago
I think we should store the token value in the Azure Function App configuration.
upvoted 0 times
...
Arlyne
12 months ago
Option B looks good, the Key Vault URI seems like the way to go here.
upvoted 0 times
Felicidad
11 months ago
Yes, the Key Vault URI in Option B will allow the Azure Function to access the token securely.
upvoted 0 times
...
Felicidad
12 months ago
I agree, Option B with the Key Vault URI is the correct choice.
upvoted 0 times
...
...

Save Cancel