exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 4 question 42 discussion

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

HOTSPOT -
You are developing an ASP.NET Core app that includes feature flags which are managed by Azure App Configuration. You create an Azure App Configuration store named AppFeatureflagStore as shown in the exhibit:

You must be able to use the feature in the app by using the following markup:

You need to update the app to use the feature flag.
Which values should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: FeatureGate -
You can use the FeatureGate attribute to control whether a whole controller class or a specific action is enabled.

Box 2: AddAzureAppConfiguration -
The extension method AddAzureAppConfiguration is used to add the Azure App Configuration Provider.
Box 3: https://appfeatureflagstore.azconfig.io
You need to request the access token with resource=https://<yourstorename>.azconfig.io
Reference:
https://docs.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core https://csharp.christiannagel.com/2020/05/19/azureappconfiguration/ https://stackoverflow.com/questions/61899063/how-to-use-azure-app-configuration-rest-api

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
gmishra88
Highly Voted 1 year, 8 months ago
And Microsoft claims this is not .Net specific.
upvoted 14 times
...
elequiel
Highly Voted 1 year, 7 months ago
Got it in exam 20/10/2022
upvoted 9 times
...
1CY1
Most Recent 23 hours, 54 minutes ago
https://learn.microsoft.com/en-us/azure/azure-app-configuration/use-feature-flags-dotnet-core#controller-actions With MVC controllers, you can use the FeatureGate attribute to control whether a whole controller class or a specific action is enabled.
upvoted 1 times
...
azpardha
2 months ago
Got this on 04/07/2024, Went with highly voted answer, score:820
upvoted 3 times
...
p2006
8 months, 2 weeks ago
Got on 9/25/2023 featuregare addazureappconfiguration appfeatureflagstore.azconfig.io
upvoted 4 times
...
mihailos
9 months, 2 weeks ago
Got it in exam 28/08/23. Went with proposed answer. Scored 912
upvoted 6 times
JogSte
9 months, 2 weeks ago
Can you say approximately the number of questions you had in the certification that we have here on the site?
upvoted 3 times
...
...
rockstar89
10 months, 2 weeks ago
Got it Exam in 31/07/2027. score 875
upvoted 1 times
Patrick199826
7 months, 3 weeks ago
2027 LOL
upvoted 7 times
...
...
juanckar
11 months, 1 week ago
This was on the exam (July 2023). Went with proposed. Scored 917
upvoted 7 times
...
nekkilodeon
1 year, 1 month ago
Feature gate is correct https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-feature-flag-aspnet-core?tabs=core6x#use-a-feature-flag
upvoted 1 times
...
DP_Bhatt
1 year, 4 months ago
Corrent
upvoted 2 times
...
sghaha
2 years, 1 month ago
in Korean https://docs.microsoft.com/ko-kr/azure/azure-app-configuration/use-feature-flags-dotnet-core?tabs=core5x
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago