exam questions

Exam SC-100 All Questions

View all questions & answers for the SC-100 exam

Exam SC-100 topic 2 question 20 discussion

Actual exam question from Microsoft's SC-100
Question #: 20
Topic #: 2
[All SC-100 Questions]

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.
Your on-premises network contains an e-commerce web app that was developed in Angular and Node,js. The web app uses a MongoDB database.
You plan to migrate the web app to Azure. The solution architecture team proposes the following architecture as an Azure landing zone.

You need to provide recommendations to secure the connection between the web app and the database. The solution must follow the Zero Trust model.
Solution: You recommend creating private endpoints for the web app and the database layer.
Does this meet the goal?

  • A. Yes
  • B. No
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
HardcodedCloud
Highly Voted 2 years, 2 months ago
Selected Answer: A
When using Azure-provided PaaS services (e.g., Azure Storage, Azure Cosmos DB, or Azure Web App, use the PrivateLink connectivity option to ensure all data exchanges are over the private IP space and the traffic never leaves the Microsoft network.
upvoted 12 times
Ajdlfasudfo0
1 year, 8 months ago
you need vnet integration in order to send traffic from app service to the cosmos db. Please read it up first.
upvoted 2 times
...
...
JoeMel
Highly Voted 1 year, 10 months ago
"The solution must follow the Zero Trust model." Isn't Zero Trust requires mutual authentication ? The solution proposed is based on trusting the internal network which is not Zero-Trust.
upvoted 8 times
...
gsesh32
Most Recent 8 months, 1 week ago
This answer is only correct if the Web App is meant to be internal facing, thus the key question here is why would an 'eCommerce' website be made internal??? Do they intend for only internal stakeholders to access the web-app? If that's not the case then the best option would be B
upvoted 1 times
...
cris_exam
8 months, 4 weeks ago
The way the recommendation is worded, is awful. YES, private endpoints (PE) could very well be a good idea, but not implementing PEs to both webapp and DB, but only to the DB and integrating the webapp to the VNET for outbound access - but NOT webapp PE. Let me explain: For this design to work well, the webapp should just be integrated with a VNET and then the DB configured with a PE, preferably in the same VNET for good performance and easier setup, then YES, this way would be more secure then leaving them publicly accessible. But the way the recommendation is worded, lets to understand that both webapp and DB would have private endpoints configured, which would NOT work, as PE only receives traffic, it cannot initiate, hence the webapp would not be able to communicate using it's PE private IP to reach the PE of DB, but the webapp will initiate traffic from the public outbound IPs and this connection will fail because DB PE will not accept a public connection.
upvoted 3 times
cris_exam
8 months, 4 weeks ago
Though, I also don't find the Az Key Vault to be the solution as these questions stream go, the PE implementation would seem the closest best answer, if implemented as explained above.
upvoted 1 times
...
bxlin
5 months, 2 weeks ago
Agreed with your explanation. The question is asking "provide recommendations to secure the connection between the web app and the database". Creating a PE on webapp has nothing to do with that recommendation.
upvoted 1 times
...
...
cybrtrk
10 months, 2 weeks ago
I think people are getting confused between the old infrastructure and the new. The question relates to the new infrastructure in Azure, so the solution is WAF. Private endpoints aren't related to this infrastructure.
upvoted 1 times
...
cyber_sa
1 year, 1 month ago
Selected Answer: A
got this in exam 6oct23. passed with 896 marks. I answered A
upvoted 3 times
...
bmulvIT
1 year, 5 months ago
Question in the exam today 19/05/2023
upvoted 4 times
...
bmulvIT
1 year, 5 months ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/app-service/networking/private-endpoint "Private endpoint is only used for incoming traffic to your app" NO
upvoted 3 times
...
zellck
1 year, 5 months ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/azure/app-service/networking/private-endpoint You can use private endpoint for your App Service apps to allow clients located in your private network to securely access the app over Azure Private Link. The private endpoint uses an IP address from your Azure virtual network address space. Network traffic between a client on your private network and the app traverses over the virtual network and a Private Link on the Microsoft backbone network, eliminating exposure from the public Internet.
upvoted 3 times
zellck
1 year, 5 months ago
Gotten this in May 2023 exam.
upvoted 5 times
...
...
Fal991l
1 year, 8 months ago
Selected Answer: A
ChatGPT: A. Yes, creating private endpoints for the web app and the database layer is a recommended solution to secure the connection between the two layers and meet the Zero Trust model. Private endpoints allow you to access your Azure PaaS services over a private IP address within your virtual network. By creating private endpoints for both the web app and the MongoDB database, traffic between them can be routed through the private network, making it more secure by preventing access from the public internet. This approach is recommended because it limits access to only the virtual network where the web app and database are deployed, and it helps to minimize the surface area of potential attacks. By implementing private endpoints, you can ensure that data is transmitted securely between the two layers and reduce the risk of data breaches. Therefore, creating private endpoints for the web app and the database layer meets the goal of securing the connection between the two layers and follows the Zero Trust model.
upvoted 1 times
...
Ajdlfasudfo0
1 year, 8 months ago
I think this is incorrect. Private Endpoint would not be the solution here. The App service does need VNet Integration, not private endpoint in order to reach the cosmos DB via its private address. I think a lot of people just shout yes once they hear private endpoint and don't even understand what it is
upvoted 4 times
...
Azzzurrre
1 year, 10 months ago
In addition to the private endpoint for the Cosmos DB, the Cosmos DB needs to have its "publicNetworkAccess" flag set to "Disabled" to prevent public network access to the Cosmos DB account when it is created, before its private endpoint is created. Also, (Just creating the private endpoint could be considered an incomplete solution.) https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-configure-private-endpoints#blocking-public-network-access-during-account-creation
upvoted 2 times
...
GetMonster
2 years, 1 month ago
Selected Answer: A
The answer is correct.
upvoted 3 times
...
tester18128075
2 years, 2 months ago
Private endpoint is correct. A is the correct answer
upvoted 2 times
...
prabhjot
2 years, 2 months ago
yes seems correct from NETWORK - zero trust principle point of view
upvoted 3 times
...
PlumpyTumbler
2 years, 2 months ago
I think this is right. It's always best to use official Microsoft documentation for answers. Other companies and blogs are not the source of truth. https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-configure-private-endpoints
upvoted 3 times
...
Alex_Burlachenko
2 years, 2 months ago
YES, correct
upvoted 4 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