HOTSPOT - You need to resolve the Shipping web site error. How should you configre the Azure Table Storage service? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
Suggested Answer:
Box 1: AllowedOrigins - A CORS request will fail if Access-Control-Allow-Origin is missing. Scenario: The following error message displays while you are testing the website: Box 2: http://test-shippingapi.wideworldimporters.com Syntax: Access-Control-Allow-Origin: * Access-Control-Allow-Origin: <origin> Access-Control-Allow-Origin: null <origin> Specifies an origin. Only a single origin can be specified.
Box 3: AllowedOrigins -
Box 4: POST - The only allowed methods are GET, HEAD, and POST. In this case POST is used. "<Corsrule>" "allowedmethods" Failed to load no "Access-control-Origin" header is present References: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
origin from the error message is without dot. it is "http://testwideworldimporters.com" where as in option it is http://test(dot)wideworldimporters.com.
In this case i think it is a typo error. The origin is http://testwideworldimporters.com, none of the choices matches this origin but if we assume the typo error, then http://test.wideworldimporters.com should be the answer
Agree. BOX 1 & BOX3 for "Allowed Origin" value.
Agree. BOX 2 should be this url (http://test.wideworldimporters.com) , assuming typo error exists in "dot"(...test(dot)wide...) as @oxaytol said.
Agree also por BOX 4. GET and POST, are correct, so this is a correct answer.
Agree, this problem comes when the origins test.wideworldimporters.com is not allowed for accessing container API. The XML configuration here is for the API, so we have to accept the origin comes from test.wideworldimporters.com
2nd Box answer is correct as the request is generating from the website Url as given in the usecase. Although 4th box should be GET as the app is meant to display data as per the usecase
The link you pasted also mentions two origins: localhost and example.com. Does this mean 3rd option in Box2 could be right? Since the 2nd option has a typo. Maybe it's not a typo but simply a wrong answer?
I think the Bos 4 is: Get, Head,
As it hasn't mentioned which CDN it uses, GET, HEAD is the best answer for Azure CDN from Microsoft.
https://docs.microsoft.com/en-us/azure/cdn/cdn-how-caching-works
Box1 & Box3: AllowedOrigins
Box2: http://*.wideworldiporters.com
The question asks to resolve the Shipping web site error, not the testing. Use wildcard instead.
https://docs.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services
Box4: GET, PUT
https://docs.microsoft.com/en-us/rest/api/storageservices/set-table-service-properties
AllowedMethods Required if CorsRule element exists. A comma-separated list of HTTP methods that are allowed to be executed by the origin. For Azure Storage, permitted methods are DELETE, GET, HEAD, MERGE, POST, OPTIONS or PUT.
The answer provided is correct.
Allowed Origin
API
Allowed Origin
POST, GET
If you have any doubt. The question is from Azure Storage Service perspective which is consumed by API. Please read the below
https://docs.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services
Website http://testwideworldimporters.com is calling the API. Web browser blocs the call, because this API is in a different domain. This API must me configured to accept calls from the source http://testwideworldimporters.com.
https://docs.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services
I would say it's POST as CosmosDB search query will be nested within BODY
https://docs.microsoft.com/en-us/rest/api/cosmos-db/querying-cosmosdb-resources-using-the-rest-api
This section is not available anymore. Please use the main Exam Page.AZ-203 Exam Questions
Log in to ExamTopics
Sign in:
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.
Regimiento
Highly Voted 5 years, 5 months agoZhang
5 years, 5 months agobalddie
5 years, 4 months agoPHARKGAOYOU
4 years, 11 months agoChilred
4 years, 5 months agoRT007
4 years, 11 months agochintan4190
5 years, 2 months agooxaytol
4 years, 11 months agoJuanlu
4 years, 6 months agohikari_se
4 years, 9 months agoAK89
Highly Voted 5 years agoAve
Most Recent 4 years, 7 months agoCornholioz
4 years, 5 months agorrongcheng
4 years, 10 months agorrongcheng
4 years, 10 months agochaudh
4 years, 11 months agoxofowi5140
4 years, 10 months agochaudh
4 years, 11 months agomrpaul9
4 years, 11 months agoxofowi5140
4 years, 10 months agonikos2001
4 years, 11 months agoRT007
4 years, 11 months agoGall
4 years, 3 months agoaltafpatel1984
3 years, 6 months ago