Microsoft Azure Architect Design (AZ-301) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Azure Architect Design (AZ-301) Exam with interactive quizzes featuring flashcards and multiple-choice questions, each packed with hints and explanations to ace your certification test!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


To prevent two virtual machines storing sensitive data in Azure from accessing the Internet, which two options should be recommended?

  1. Network Security Groups (NSGs)

  2. Source Network Address Translation (SNAT)

  3. Azure Virtual Network Integration

  4. Azure ExpressRoute

The correct answer is: Network Security Groups (NSGs)

Network Security Groups (NSGs) are the most appropriate choice for preventing two virtual machines from accessing the Internet in Azure. NSGs are used to implement access control policies based on a set of rules that allow or deny traffic to and from Azure resources. By configuring NSGs to restrict outbound Internet traffic, you can ensure that the virtual machines remain isolated from external networks, effectively protecting the sensitive data they store. NSGs can be assigned to individual network interfaces, subnets, or only to specific resources, providing granular control over the traffic flow. This capability is crucial for maintaining security, especially when handling sensitive information, as it minimizes the exposure of the virtual machine’s data to potential online threats. The other options do not provide the same level of direct control or are not specifically designed to restrict Internet access. For instance, Source Network Address Translation (SNAT) is related to the management of outgoing connections rather than implementing direct access controls. Azure Virtual Network Integration facilitates the connection between cloud services and an Azure virtual network but does not inherently limit Internet access, and Azure ExpressRoute is used for creating private connections to Azure that bypass the public Internet, which, while secure, does not prevent virtual machines from accessing the Internet if configured so.