You have an Azure subscription that contains 10 virtual machines, a key vault named Vault 1, and a network security group (NSG) named NSG1. All the resources are deployed to the East US Azure region.
The virtual machines are protected by using NSG1. NSG1 is configured to block all outbound traffic to the internet.
You need to ensure that the virtual machines can access Vault1. The solution must use the principle of least privilege and minimize administrative effort.
What should you configure as the destination of the outbound security rule for NSG1?
Suggested Answer: A
Get Premium AZ-104 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
32 comments · newest first
LO
Louvenia
12 months ago
Surprised this isn't more straightforward!
LO
Lon
12 months ago
Definitely need to use the least privilege principle here.
TI
Tish
1 year ago
Isn't it risky to allow outbound traffic at all?
RO
Royal
1 year ago
I think an application security group could work too.
TO
Toshia
1 year ago
A service tag is the way to go!
FR
Frederica
1 year ago
I feel like the service tag is the best option here since it aligns with least privilege and minimizes admin effort.
MO
Mollie
1 year ago
I practiced a similar question where we had to allow access to a key vault. I think using an IP address range might be too broad for this scenario.
DE
Deane
1 year ago
I'm not entirely sure, but I think application security groups could also work here. They allow for more granular control, right?
JO
Johnathon
1 year ago
I remember something about service tags being used for Azure resources. They might simplify the configuration for NSGs.
JO
Johna
1 year ago
I'm leaning towards C, an IP address range. That way, I can specifically allow access to the key vault's IP address and nothing else. Seems more secure than a broad service tag, even if it takes a bit more work to set up.
VI
Vince
1 year ago
Definitely option A for me. Service tags are the way to go - they're easy to set up and maintain, and they'll give the VMs access to the key vault without exposing the whole internet. Seems like the most efficient solution.
IV
Ivette
1 year ago
Hmm, I'm a bit confused on this one. I'm not sure if using a service tag is the best approach since the question mentions minimizing administrative effort. Maybe an application security group would be better?
AL
Alisha
1 year ago
I think the key here is to use the principle of least privilege, so I'd go with option A and use a service tag. That way, the VMs can access the key vault without needing to open up the whole internet.
AH
Ahmed
2 years ago
Guys, let's not overthink this. Just use a service tag and call it a day. It's the 'principle of least privilege', not the 'principle of maximum confusion'.
DI
Diane
2 years ago
No, using an IP address range would not be the best option in this scenario. Stick to the service tag for simplicity.
CE
Celeste
2 years ago
C) an IP address range
CA
Carey
2 years ago
Exactly, using a service tag will allow access to Vault1 while still following the principle of least privilege.
AN
Antonio
2 years ago
A) a service tag
WI
Wilda
2 years ago
A service tag? Sounds like something out of a sci-fi novel. I'm sticking with good old IP addresses.
CH
Christoper
2 years ago
C) an IP address range
VI
Virgie
2 years ago
B) an application security group
WA
Wai
2 years ago
A) a service tag
SH
Sheron
2 years ago
C looks good to me. Just specify the IP range and you're all set. Easy peasy.
LO
Loren
2 years ago
I'm going with B. Application security groups are the new hotness for this kind of thing.
GE
Gerald
2 years ago
B) an application security group
DO
Donte
2 years ago
That's a good point, Clay. Using a service tag could indeed be a more efficient solution.
CL
Clay
2 years ago
But wouldn't using a service tag be more secure and easier to manage in the long run?
LU
Luisa
2 years ago
A service tag is the way to go. Keeps things simple and secure.
RO
Rosita
2 years ago
Definitely, using a service tag is the best option in this scenario.
MO
Mona
2 years ago
A) a service tag
TI
Timothy
2 years ago
I agree with Donte. Configuring an IP address range would be the best option to allow access to Vault1.
DO
Donte
2 years ago
I think we should configure an IP address range as the destination.