exam questions

Exam AZ-305 All Questions

View all questions & answers for the AZ-305 exam

Exam AZ-305 topic 4 question 22 discussion

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

HOTSPOT -
A company plans to implement an HTTP-based API to support a web app. The web app allows customers to check the status of their orders.
The API must meet the following requirements:
✑ Implement Azure Functions.
✑ Provide public read-only operations.
✑ Prevent write operations.
You need to recommend which HTTP methods and authorization level to configure.
What should you recommend? To answer, configure the appropriate options in the dialog box in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: GET only -
Get for read-only-

Box 2: Anonymous -
Anonymous for public operations.

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
Davin0406
Highly Voted 2 years, 1 month ago
Get only and Anonymous. appeared in exam, 10/14/2022. I passed with 946/1000 and there were only 1~2 new questions but others were all from AZ-305 dump.
upvoted 52 times
...
dewiser
Highly Voted 2 years ago
GET, Anonymous
upvoted 8 times
...
SeMo0o0o0o
Most Recent 3 weeks ago
CORRECT
upvoted 1 times
...
eduardobbs
9 months ago
Got this on my exam on 06/03/2024
upvoted 4 times
...
Tobistr
1 year ago
I am working with Azure Functions and if you choose "Function" as Authorization Level, you can still access it from public, but you need to add the function specific access code. E.g. https//yourapi.com/functionXY/?code=abc123 ... So this could also be an option
upvoted 3 times
...
lombri
1 year, 7 months ago
For the given requirements, I would recommend the following HTTP methods and authorization level to configure: HTTP Methods: GET Since the API only needs to provide public read-only operations, the GET method would be sufficient to retrieve data. Authorization Level: Anonymous Since the API needs to be publicly accessible for read-only operations, an anonymous authorization level should be used to allow unrestricted access without requiring any authentication or authorization.
upvoted 7 times
...
King_Laps
1 year, 7 months ago
The correct answer should be GET HTTP method for public read-only operations and configure authorization level as Anonymous..
upvoted 1 times
...
NotMeAnyWay
1 year, 7 months ago
Correct! 1. HTTP methods: b. GET only As the API needs to provide public read-only operations and prevent write operations, you should use only the GET method. The GET method is used to retrieve data and is considered read-only, which meets the requirements. 2. Authorization level: b. Anonymous To allow public read-only access without requiring any authentication or authorization, you should set the authorization level to Anonymous. This will enable any user to access the API without providing a key, allowing them to check the status of their orders as required.
upvoted 7 times
...
VBK8579
1 year, 10 months ago
GET HTTP method for public read-only operations and configure authorization level as Anonymous.
upvoted 3 times
...
tfulanchan
1 year, 10 months ago
The web app allows customers to check the status of their orders. Level value Description anonymous No API key is required. function A function-specific API key is required. This is the default value when a level isn't specifically set. admin The master key is required. https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=in-process%2Cfunctionsv2&pivots=programming-language-csharp#http-auth Customers may not have API key. Anonymous.
upvoted 2 times
...
Darkx
2 years, 1 month ago
appeared on 11th Oct 2022
upvoted 3 times
...
Velidot100
2 years, 2 months ago
Got this on my exam - 12. September 2022
upvoted 2 times
jellybiscuit
2 years, 2 months ago
Really? This seems way outside the scope of the test.
upvoted 1 times
Jeffab
2 years, 1 month ago
That was my thought too! I have read all the Learn material for 305 and would love to know where this is covered in objectives?
upvoted 3 times
Dudulle
2 years ago
Not the first question, by far, not at all covered in the courses ... It is generic HTML knowledge, but yeah, like other questions, a bit abusive to find it here !
upvoted 2 times
...
...
SilverFox22
1 year, 11 months ago
Questions like this I am really glad for ExamTopics. None of the materials I have reviewed, from several sources, have mentioned anything like this.
upvoted 2 times
...
...
...
GarryK
2 years, 2 months ago
Correct Http Method: https://www.w3schools.com/tags/ref_httpmethods.asp Anonymous (for public access)
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 ...