exam questions

Exam AZ-900 All Questions

View all questions & answers for the AZ-900 exam

Exam AZ-900 topic 1 question 256 discussion

Actual exam question from Microsoft's AZ-900
Question #: 256
Topic #: 1
[All AZ-900 Questions]

You plan to deploy several Azure virtual machines.
You need to control the ports that devices on the Internet can use to access the virtual machines.
What should you use?

  • A. a network security group (NSG)
  • B. an Azure Active Directory (Azure AD) role
  • C. an Azure Active Directory group
  • D. an Azure key vault
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
Sandy4912
Highly Voted 3 years, 10 months ago
A network security group (NSG) contains a list of security rules that allow or deny network traffic to resources connected to Azure Virtual Networks (VNet). NSGs can be associated to subnets, individual VMs (classic), or individual network interfaces (NIC) attached to VMs (Resource Manager) A is the correct answer.
upvoted 25 times
...
vaisat
Highly Voted 4 years, 3 months ago
A is the only logic option.
upvoted 10 times
mytapun
3 years, 5 months ago
correct
upvoted 1 times
...
...
SAFM
Most Recent 7 months ago
Selected Answer: A
NSG is correct
upvoted 1 times
...
zellck
1 year, 3 months ago
Selected Answer: A
A is the answer. https://learn.microsoft.com/en-us/azure/virtual-network/network-security-groups-overview You can use an Azure network security group to filter network traffic between Azure resources in an Azure virtual network. A network security group contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure resources. For each rule, you can specify source and destination, port, and protocol.
upvoted 1 times
zellck
1 year, 3 months ago
A network security group (NSG) is a feature in Azure that allows you to control inbound and outbound network traffic to and from Azure resources. You can create rules that specify the ports and protocols that can be used to access your virtual machines, and you can apply the NSG to individual virtual machines or to a subnet in a virtual network. With NSG, you can create inbound and outbound security rules, allow or deny traffic based on source and destination IP address, port, and protocol. Azure Active Directory (Azure AD) is a service
upvoted 1 times
...
...
thelukas1997
1 year, 5 months ago
Key word is 'port', port = NSG
upvoted 2 times
...
Tom34
1 year, 11 months ago
You can attach a network security group to a virtual network and/or individual subnets within the virtual network. - It's a wrong statement. You can assign NSG only to subnet and NIC in a virtual machine. You can associate zero, or one, network security group to each virtual network subnet and network interface in a virtual machine. The same network security group can be associated to as many subnets and network interfaces as you choose. https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
upvoted 2 times
...
Hassan110
2 years, 2 months ago
A is correct
upvoted 1 times
...
Subhrajit
2 years, 3 months ago
Selected Answer: A
a network security group (NSG)
upvoted 1 times
...
Sarahxx
2 years, 9 months ago
appeared 18th July 2021
upvoted 2 times
...
AzureDrew
2 years, 10 months ago
"You can attach a network security group to a virtual network and/or individual subnets within the virtual network." Is wrong. A previous questions states that you cannot attach a nsg to a virtual network. Only subnets and NICS
upvoted 6 times
...
taoj
2 years, 11 months ago
Got it on 01 Jun 2021
upvoted 2 times
...
samuelgarcia
2 years, 11 months ago
Why does this answer say you can attach an NSG to a virtual network but in question #133 it says you can't?
upvoted 5 times
Georgess
2 years, 6 months ago
I couldn't find "virtual network" in the whole text of this question, so why are you asking this?
upvoted 1 times
...
pedrolindeza
2 years, 11 months ago
i was looking for this. Thank you
upvoted 2 times
...
...
Gerardo1971
3 years ago
Correct answer
upvoted 1 times
...
jashish79
3 years, 2 months ago
Azure Firewall is for filtering traffic from outside Azure world , that is , internet . NSG is for filtering traffic from within Azure resources ...Option of Azure Firewall is not present
upvoted 2 times
DartTrapdoor
2 years, 10 months ago
Azure Firewall is a stateful (and expensive) option for controlling traffic. NSGs are like access contorl lists - it does the job. Source and destination for NSG can be outside of Azure.
upvoted 1 times
...
...
panal
3 years, 2 months ago
Given Answer is correct.
upvoted 1 times
...
etoto
3 years, 4 months ago
A network security group (NSG) enables you to filter network traffic to and from Azure resources within an Azure Virtual Network. You can think of network security groups like an internal firewall. An NSG can contain multiple inbound and outbound security rules that enable you to filter traffic to and from resources by source and destination IP address, port, and protocol.
upvoted 4 times
...
Prates_BR
3 years, 4 months ago
Yes, the logical option, however when we are talking about internet, most of times FIREWALL should be the correct option.
upvoted 1 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