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 2 Question 101 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 101
Topic #: 2
[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
Edward
3 months ago
Just to clarify, the secret name is "token", right?
upvoted 0 times
...
Santos
3 months ago
Wait, are we sure about that? Seems a bit off.
upvoted 0 times
...
Jeannine
3 months ago
I thought it was option C at first, but B is clearer.
upvoted 0 times
...
Sunny
4 months ago
Definitely option B! Makes the most sense.
upvoted 0 times
...
Mitzie
4 months ago
You need to set the Key Vault reference in the app settings.
upvoted 0 times
...
Jacquline
4 months ago
I’m a bit confused about whether we need just the Key Vault name or the full secret URI. I hope I remember correctly!
upvoted 0 times
...
Fausto
4 months ago
I feel like Option B might be the right choice, but I can't recall the exact details of how the access token is referenced.
upvoted 0 times
...
Myong
4 months ago
I remember practicing a similar question where we had to set up access to a Key Vault. I think it was about using a specific URI.
upvoted 0 times
...
Hyman
5 months ago
I think we need to store the Key Vault reference in the Azure Function configuration, but I'm not sure which format it should be in.
upvoted 0 times
...
Tamar
5 months ago
I'm pretty confident I know the right answer here. The Azure Function should use the Key Vault name and secret name, not the actual token value, to access the secret at runtime.
upvoted 0 times
...
Michell
5 months ago
Okay, I think I've got this. The key is to store the Key Vault name and secret name in the Azure Function's app settings, not the actual token value. That way the Function can securely retrieve the token when needed.
upvoted 0 times
...
Elly
5 months ago
Hmm, I'm a bit confused about the different options here. I need to make sure I understand how to properly access a secret from Key Vault in an Azure Function.
upvoted 0 times
...
Gabriele
5 months ago
This seems like a straightforward question about accessing a secret stored in Azure Key Vault from an Azure Function. I'll carefully review the options and think through the correct approach.
upvoted 0 times
...
Jose
5 months ago
Hmm, I'm a bit unsure about this one. I know test automation is important, but I'm not sure if any of these options are the correct reason to apply it. I'll have to think this through.
upvoted 0 times
...
Christoper
5 months ago
I think cache files are stored in the /data/data//cache directory. It sounds familiar from the lecture.
upvoted 0 times
...
Tamekia
1 year ago
Option C all the way! It's like having a treasure map to the secret token. Can't go wrong with that.
upvoted 0 times
Bea
1 year ago
Option C it is then! Thanks for the input, guys.
upvoted 0 times
...
Shannon
1 year ago
I agree, having a treasure map to the secret token is definitely the way to go.
upvoted 0 times
...
Ronnie
1 year ago
Yeah, Option C seems like the most secure way to store the access token.
upvoted 0 times
...
Chanel
1 year ago
I think Option C is the best choice too. It's like a treasure map to the secret token.
upvoted 0 times
...
...
Alex
1 year ago
Option A? Really? That's like trying to hide a giraffe in a birdhouse. I'm not buying it.
upvoted 0 times
Georgene
1 year ago
I agree, Option A seems like a risky choice for securing the token.
upvoted 0 times
...
Reynalda
1 year ago
Option A is not the best choice for storing the access token.
upvoted 0 times
...
...
Rosalind
1 year ago
That makes sense. Let's go with Option C then.
upvoted 0 times
...
Kristeen
1 year ago
I believe Option C looks like the correct one, as it mentions accessing the token from the Key Vault.
upvoted 0 times
...
Tennie
1 year ago
Ah, the age-old question of where to store the token. I'll have to go with Option D, just to keep things interesting.
upvoted 0 times
Shayne
1 year ago
I agree, let's go with Option D for the token storage.
upvoted 0 times
...
Jacinta
1 year ago
I think Option D is the way to go.
upvoted 0 times
...
...
Rosalind
2 years ago
I agree with you, but which option should we choose?
upvoted 0 times
...
Jenelle
2 years ago
Hmm, I'm going with Option B. It's always better to take the direct approach, you know, like a true Azure Function ninja.
upvoted 0 times
...
Ettie
2 years ago
Option C looks good, it's referencing the Key Vault name and the secret name. Easy peasy!
upvoted 0 times
Howard
1 year ago
Option C is the most logical choice here. It directly relates to accessing the token from the Key Vault.
upvoted 0 times
...
Dorothea
1 year ago
Yeah, Option C is definitely the way to go. It's straightforward and matches the scenario perfectly.
upvoted 0 times
...
Beatriz
1 year ago
I agree, Option C seems to be the correct choice since it references the Key Vault name and the secret name.
upvoted 0 times
...
...
Kristeen
2 years ago
I think we should store the value of the token in the Azure Function App configuration.
upvoted 0 times
...

Save Cancel