注: この問題は、同じシナリオを提示する一連の問題の一部です。一連の問題にはそれぞれ、定められた目標を満たす可能性のある独自の解答が含まれています。問題セットによっては、複数の正解が存在する場合もあれば、正解がない場合もあります。
このセクションの質問に回答した後は、その質問に戻ることはできません。そのため、これらの質問はレビュー画面に表示されません。
vm1 という Azure 仮想マシン上で実行される app1 という Web アプリを作成します。vm1 は、vnet1 という Azure 仮想ネットワーク上にあります。
service1 という名前の新しい Azure Cognitive Search サービスを作成する予定です。
パブリック インターネット経由でトラフィックをルーティングせずに、app1 が service1 に直接接続できることを確認する必要があります。
解決策: service1 とパブリック エンドポイントを新しい仮想ネットワークにデプロイし、Azure Private Link を構成します。
これは目標を満たしていますか?
正解:A
Scenario Recap
You have a web app app1 running on VM1 in vnet1.
You plan to create an Azure Cognitive Search service (service1).
Goal: Ensure app1 can connect to service1 without routing over the public internet.
Proposed Solution
"You deploy service1 and a public endpoint to a new virtual network, and you configure Azure Private Link." Analysis Azure Cognitive Search and Private Link:
Azure Cognitive Search supports Private Endpoints via Azure Private Link.
When you configure a private endpoint, the service is accessible privately over the virtual network and traffic does not go over the public internet.
You can still keep a public endpoint enabled optionally, but access from your VM can be restricted to the private endpoint.
Key Point: The solution specifies using a public endpoint AND a private link.
This still meets the requirement because Private Link ensures that VM1 in vnet1 communicates with service1 privately.
The existence of the public endpoint does not force traffic to go public - traffic from the private endpoint is routed over the VNet.
Conclusion
Yes, this solution meets the goal because Private Link provides secure, private connectivity to Cognitive Search, avoiding the public internet.
The Answer: A. Yes
Microsoft References
Secure access to Azure Cognitive Search with Private Link
Azure Private Link overview