exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 8 question 4 discussion

Actual exam question from Microsoft's AZ-304
Question #: 4
Topic #: 8
[All AZ-304 Questions]

You plan to migrate App1 to Azure.
You need to recommend a network connectivity solution for the Azure Storage account that will host the App1 data. The solution must meet the security and compliance requirements.
What should you include in the recommendation?

  • A. a private endpoint
  • B. a service endpoint that has a service endpoint policy
  • C. Azure public peering for an ExpressRoute circuit
  • D. Microsoft peering for an ExpressRoute circuit
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
leo_az300
Highly Voted 3 years, 7 months ago
The answer should be Private Endpoint. Below are requirements for storage account used by app1. Once App1 is migrated to Azure, you must ensure that new data can be written to the app, and the modification of new and existing data is prevented for a period of three years. --immutable stoarge. not applicable in this question On-premises users and services must be able to access the Azure Storage account that will host the data in App1 ---Private Endpoint securely connect to storage accounts from on-premises networks that connect to the VNet using VPN or ExpressRoutes with private-peering. Access to the public endpoint of the Azure Storage account that will host the App1 data must be prevented. -- Private Endpoint secure your storage account by configuring the storage firewall to block all connections on the public endpoint for the storage service.
upvoted 22 times
rdemontis
3 years, 4 months ago
Yes you are right. In substance with private peering the on-premises network is considered in azure as any other VNet so it is possible to include it in a Private Endpoint for a Storage Account. https://docs.microsoft.com/en-us/azure/expressroute/expressroute-circuit-peerings#routingdomains
upvoted 2 times
...
leo_az300
3 years, 7 months ago
some update for other options: Service Endpoint: By default, Service Endpoints are enabled on subnets configured in Azure virtual networks. Endpoints can't be used for traffic from your premises to Azure services. If you want to allow traffic from on-premises, you must also allow public (typically, NAT) IP addresses from your on-premises or ExpressRoute. Microsoft Peering to ExpressRoute: For Microsoft peering, the NAT IP addresses are either customer provided or provided by the service provider. To allow access to your service resources, you must allow these public IP addresses in the resource IP firewall setting.
upvoted 6 times
...
...
pentium75
Highly Voted 3 years, 7 months ago
I'd almost go for A "Private Endpoint" - that is definitely required here, but it is NOT a "Network Connectivity Solution." So answer seems correct, D (Microsoft Peering) - though we already have ExpressRoute.
upvoted 11 times
JCE
3 years, 7 months ago
Agree. The company has ExpressRoute in place that means on-prem users can reach to the services in Azure.
upvoted 2 times
...
AyoDe
3 years, 7 months ago
Microsoft peering is for access to Azure public services via public endpoints like public IPs which the question clearly states should not be allowed, with this in mind the ideal solution would be a combination of private peering (which allows connectivity to azure vnets) and a private endpoint. so id go for A private endpoint
upvoted 4 times
...
walkwolf3
3 years, 5 months ago
The better answer is A. private endpoint Microsoft peering will use public IP to access Microsoft/Azure resources If your ExpressRoute circuit is enabled for Azure Microsoft peering, you can access the public IP address ranges used in Azure over the circuit. Supported: Azure Public IP addresses for IaaS (Virtual Machines, Virtual Network Gateways, Load Balancers, etc.) https://docs.microsoft.com/en-us/azure/expressroute/expressroute-faqs#microsoft-peering Private peering will be the answer. Since it's not included, private endpoint would be the choice.
upvoted 5 times
rdemontis
3 years, 5 months ago
thanks for explanation
upvoted 1 times
...
...
...
jp_mcgee
Most Recent 2 years, 5 months ago
A is correct. Read "Private connectivity to Azure PaaS services" here: https://azure.microsoft.com/en-us/blog/announcing-azure-private-link/ It Says: "With today’s announcement of Azure Private Link, you can simply create a private endpoint in your VNet and map it to your PaaS resource (Your Azure Storage account blob or SQL Database server). These resources are then accessible over a private IP address in your VNet, enabling connectivity from on-premises through Azure ExpressRoute private peering and/or VPN gateway and keep the network configuration simple by not opening it up to public IP addresses."
upvoted 1 times
...
arun
3 years, 1 month ago
Selected Answer: A
https://docs.microsoft.com/en-us/azure/expressroute/expressroute-circuit-peerings#privatepeering
upvoted 1 times
...
altafpatel1984
3 years, 2 months ago
If A is answer then question is then how on-prem will connect to storage service when connectivity is only through ExpressRoute?
upvoted 1 times
...
us3r
3 years, 2 months ago
Selected Answer: A
vote A.
upvoted 1 times
...
rinjohn
3 years, 3 months ago
Selected Answer: A
The solution must meet the security and compliance requirements. Keeping public endpoint enabled is not a secure way. Hence option A comes close to the requirement.
upvoted 2 times
...
[Removed]
3 years, 3 months ago
Selected Answer: A
A is correct. Private endpoint is needed to have prevention of App1 data from public.
upvoted 2 times
...
Dpejic
3 years, 4 months ago
On exam today 22-Dec-21
upvoted 2 times
...
chupacabra
3 years, 4 months ago
Selected Answer: D
This answer is D. The Security and Compliance Requirements section contains the following: On-premises users and services must be able to access the Azure Storage account that will host the data in App1. Access to the public endpoint of the Azure Storage account that will host the App1 data must be prevented. Litware has ExpressRoute connectivity to Azure. So we can configure ExpressRoute peering for virtual networks. You can set up bi-directional connectivity between your core network and Azure virtual networks (VNets). This peering lets you connect to virtual machines and cloud services directly on their private IP addresses. https://docs.microsoft.com/en-us/azure/expressroute/expressroute-circuit-peerings
upvoted 1 times
...
student22
3 years, 5 months ago
D ---
upvoted 1 times
student22
3 years, 5 months ago
Sorry A, not D
upvoted 3 times
...
...
syu31svc
3 years, 6 months ago
https://docs.microsoft.com/en-us/azure/expressroute/expressroute-circuit-peerings Azure public peering has been deprecated -> C is out Microsoft peering is to Microsoft cloud so D is out as well "Access to the public endpoint of the Azure Storage account that will host the App1 data must be prevented" Answer is A
upvoted 5 times
...
poplovic
3 years, 7 months ago
the best answer should be "private peering", B) is not applicable C) Azure public peering is deprecated and replaced by Microsoft peering D) Microsoft Peering is for public IP. Therefore, could not satisfy the private IP storage requirement. A) is the only feasible option left. It is okay because a private endpiont must use private IP and the pre-requisite is private peering. Here is an example https://docs.microsoft.com/en-aus/azure/migrate/replicate-using-expressroute#replicate-data-by-using-an-expressroute-circuit-with-private-peering The expressroute peering is https://docs.microsoft.com/en-us/azure/expressroute/expressroute-circuit-peerings
upvoted 5 times
VincentZhang
3 years, 6 months ago
Why B) is not applicable? A service Endpoint can not serve the purpose?
upvoted 1 times
SanjSL
3 years, 2 months ago
Yes, B) tick all the boxes, When you configure service endpoint, storage account only accessible from subnet that has VMs and on-prem users already have access to Apps through expressroute?
upvoted 1 times
...
...
...
fabianvera19822
3 years, 7 months ago
Remember "you plan to migrate App1 to Azure" so Id almost go for A. private Endpoint
upvoted 3 times
...
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago