Designing and Implementing a Microsoft Azure AI Solution — Question 75

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You create a web app named app1 that runs on an Azure virtual machine named vm1. Vm1 is on an Azure virtual network named vnet1.
You plan to create a new Azure Cognitive Search service named service1.
You need to ensure that app1 can connect directly to service1 without routing traffic over the public internet.
Solution: You deploy service1 and a public endpoint, and you configure an IP firewall rule.
Does this meet the goal?

Answer options

Correct answer: B

Explanation

The proposed solution does not meet the goal because setting up a public endpoint for service1 means that traffic would still traverse the public internet. To ensure a direct connection without using the public internet, a private endpoint should be utilized instead, which allows for secure communication within the Azure network. Therefore, the correct answer is B, as the solution fails to achieve the intended private connectivity.