exam questions

Exam AZ-302 All Questions

View all questions & answers for the AZ-302 exam

Exam AZ-302 topic 2 question 2 discussion

Actual exam question from Microsoft's AZ-302
Question #: 2
Topic #: 2
[All AZ-302 Questions]

You host an on-premises ASP.NET Web API at the company headquarters. The Web API is consumed by applications running at the company's branch offices using the Azure Relay service. All the users of the applications are on the same Azure Active Directory (Azure AD).
You need to ensure that the applications can consume the Web API.
What should you do?

  • A. Create separate AD groups named Senders and Receivers. In Access Control (IAM) for the relay namespace, assign Senders the Reader role and assign Receivers the Reader role.
  • B. Create a Shared Access policy for send permissions and another for Receive permissions.
  • C. Create dedicated Azure AD identities named Sender and Receiver. Assign Sender the Azure AD Identity Reader role. Assign Receiver the Azure AD Identity reader role. Configure applications to use the respective identities.
  • D. Create a Shared Access policy for the namespace. Use a connection string in the Web API and use a different connection string in consumer applications.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
References:
https://docs.microsoft.com/en-us/azure/service-bus-relay/relay-authentication-and-authorization

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
Currently there are no comments in this discussion, be the first to comment!
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 ...