nerdexam
MicrosoftMicrosoft

AZ-204 · Question #128

AZ-204 Question #128: Real Exam Question with Answer & Explanation

The correct answer is C: Enable CORS. We need to enable Cross-Origin Resource Sharing (CORS). https://medium.com/@xinganwang/a-practical-guide-to-cors-51e8fd329a1f

Submitted by takeshi77· Mar 30, 2026

Question

You develop and deploy a Java RESTful API to Azure App Service. You open a browser and navigate to the URL for the API. You receive the following error message: You need to resolve the error. What should you do?

Options

  • ABind an SSL certificate
  • BEnable authentication
  • CEnable CORS
  • DMap a custom domain
  • EAdd a CDN

Explanation

We need to enable Cross-Origin Resource Sharing (CORS). https://medium.com/@xinganwang/a-practical-guide-to-cors-51e8fd329a1f

Community Discussion

No community discussion yet for this question.

Full AZ-204 PracticeBrowse All AZ-204 Questions