exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 5 question 135 discussion

Actual exam question from Microsoft's AZ-104
Question #: 135
Topic #: 5
[All AZ-104 Questions]

HOTSPOT
-

You have an Azure subscription that contains the virtual networks shown in the following table.



The subnets have the IP address spaces shown in the following table.



You plan to create a container app named contapp1 in the East US Azure region.

You need to create a container app environment named con-env1 that meets the following requirements:

• Uses its own virtual network.
• Uses its own subnet.
• Is connected to the smallest possible subnet.

To which virtual networks can you connect con-env1, and which subnet mask should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
Kuikz
Highly Voted 1 year, 5 months ago
Its VNET 3 only and /23 So we need a /23 mask, this means 512 IPs I am a total newbie with this so i tried to find out what the possible IP Ranges are: - VNET 1 10.1.128.0/23 = 10.1.128.0 - 10.1.129.255 (512 IPs) - Sub 1 10.1.128.0/24 = 10.1.128.0 - 10.1.128.255 (256) -> Not enough IPs available - VNET 2 192.168.0.0/16 = 192.168.0.0-192.168.255.255 - Sub21 192.168.0.0 /17 = 192.168.0.0 - 192.168.127.255 - Sub22 192.168.128.0/17 = 192.168.128.0 - 192.168.255.255 -> The subnets take out the whole range of VNET 2 - VNET 3 172.16.0.0/16 = 172.16.0.0 - 172.16.255.255 - Sub3 172.16.1.0/24 = 172.16.1.0 - 172.16.1.255 -> VNET 3 still has most of the range for a /23 available. For example we could make the following /23 subnet: 172.16.2.0/23 = 172.16.2.0 - 172.16.3.255 Please correct me if i am wrong!
upvoted 37 times
trferreiraBR
1 year, 4 months ago
VNET 3 only and /23. Why? According to Microsoft - Consumption only environment - Container Apps. It needs a subnet with IPs in Range 512. -/23 is the minimum subnet size required for virtual network integration. -The Container Apps runtime reserves a minimum of 60 IPs for infrastructure in your VNet. The reserved amount may increase up to 256 addresses as apps in your environment scale. Reference: https://learn.microsoft.com/en-us/azure/container-apps/networking?tabs=azure-cli#consumption-only-environment
upvoted 11 times
bhadrisn
1 year, 2 months ago
Your explanation is right but selected answer is wrong. /23 is the subnet size to be used. This gives answer for second box. And for the first box, from the given conditions, you choose, VNET2, because, /23 size is available only in subnet 21 and subnet 22. but subnet 21 and 23 is only attached to VNET2. So, answer for first box is VNET2
upvoted 1 times
bhadrisn
1 year, 2 months ago
Ok, my assumption is wrong. I thought we have to use only from the above subnets, but after reading the question correctly, i had another thought of which VNETs has space and to which VNET we can have the environment allocated. So, it should be VNET3 as it has space. VNET2 space is not available.
upvoted 5 times
...
...
...
ducklaorange
1 year, 5 months ago
Your reasoning sounds correct to me. But its a very silly question, having to number crunch IP subnets like this is a CCNA.
upvoted 6 times
josola
1 year, 3 months ago
Azure manages its own networking environment, so yes the required knowledge should be akin to CCNA.
upvoted 3 times
...
...
...
Novia
Highly Voted 1 year, 2 months ago
the Answer should be BOX 1 VNET 1 or VNET3 only BOX2 /24 we have subnet mask either /24 or /17 from all subnets. the question did not say you can create a new subnet! therefore, /24 is the samllest subnet you can CHOOSE from the two. Both VNET1 and VNET 3 have the subnets with mask /24
upvoted 16 times
...
[Removed]
Most Recent 5 months ago
WRONG VNet3 only /23
upvoted 2 times
...
155e6a0
5 months ago
Box 1: VNet1 and Vnet3 Box 2: /26
upvoted 1 times
...
certainly
5 months, 2 weeks ago
1. Workload profile environment: /27 is the minimum subnet size required 2. Consumption-only environment: /23 is the minimum subnet size required the question didn't specify which one is used. but based on the smaller subnet possible, it should be #1. /27. yet it is not available from the answer, so the next up is /26 following that logic, i would think the correct answer is 1. VNet1 and Vnet3 2. /26
upvoted 3 times
...
alsmk2
6 months, 3 weeks ago
Process of elmination: • Uses its own virtual network. Vnet1 & 2 • Uses its own subnet. Vnet1 & 2 • Is connected to the smallest possible subnet. Cont App can require either a /23 (consumption only env's), or a /27 (workload profile env's). There is no /27 as an option, so the assumption is a /23 is required. Only place for a /23 is vnet3. Final answer: vnet3 only on /23
upvoted 4 times
...
homer_simpson
7 months, 1 week ago
Analysis: Smallest Subnet: Subnet1: 10.1.128.0/24 (256 IP addresses) Subnet21: 192.168.0.0/17 (32,768 IP addresses) Subnet22: 192.168.128.0/17 (32,768 IP addresses) Subnet3: 172.16.1.0/24 (256 IP addresses) Both Subnet1 and Subnet3 have the smallest size with a /24 subnet mask. Virtual Network Selection: Since both VNet1 and VNet3 have subnets of the smallest size (/24), you can choose either of these virtual networks. Subnet Mask: The smallest possible subnet mask for the container app environment is /24. Conclusion: Virtual networks: VNet1 or VNet3 Subnet mask: /24
upvoted 5 times
...
GreenTick
7 months, 2 weeks ago
VNET1, VNET2, and VNET3. /28. it can use all VNETs, because it's located in the same region. the subnets listed are the VNET's subnet, the maximum available range to use. the requirement is to create the smallest subnet, The smallest supported IPv4 subnet is /29, and the largest is /2 (using CIDR subnet definitions). IPv6 subnets must be exactly /64 in size https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-faq /29 is not in the list, so the next one will be /28.
upvoted 1 times
GreenTick
7 months, 2 weeks ago
correction VNET1 and VNET3 only and /28 VNET2 (/16) has been used completely ( 2 x /17).
upvoted 1 times
...
...
kam1122
7 months, 2 weeks ago
Wt is the correct answer......
upvoted 1 times
...
Ni22
8 months, 3 weeks ago
6/13/24 on exam
upvoted 3 times
Nickybambi
8 months, 3 weeks ago
what's the answer?
upvoted 2 times
...
...
jacksparrowtabali
11 months, 1 week ago
container apps need at least 512 IP addresses: 1- Vnet 1 does not have enough the remaining from subnet 1 will be 256. 2-Vnet2 the is full equipied and we do not have any IPs available 3- Vnet3 is having 65536 IPs and only equipied with 512 IPs so we still have so much space to host our ( /23) app container. answer Vnet3 and /23
upvoted 4 times
...
1828b9d
1 year ago
This question was in exam 01/03/2024
upvoted 5 times
...
Amir1909
1 year ago
- VNet3 only - 23
upvoted 2 times
...
AAlmani
1 year ago
Given Ans is correct: -BOX 1 VNET1 or VNET2 or VNET3 -BOX2 /26 https://learn.microsoft.com/en-us/azure/container-apps/networking?tabs=workload-profiles-env%2Cazure-cli
upvoted 1 times
...
vish9
1 year, 3 months ago
s per the following link /27 is the minimum subnet required https://learn.microsoft.com/en-us/azure/container-apps/networking?tabs=workload-profiles-env%2Cazure-cli#consumption-only-environment Hence all three VNets can be used because those are bigger than /27. To keep the subnet smallest we should use /26 prefix.
upvoted 2 times
...
Razoir
1 year, 3 months ago
To meet the requirements of creating a container app environment named con-env1 that uses its own virtual network, its own subnet, and is connected to the smallest possible subnet, you should connect con-env1 to vnet1 and use subnet1 with the smallest subnet mask available. The available options are: vnet1: 10.1.128.0/23, subnet1: 10.1.128.0/24 vnet2: 192.168.0.0/16, subnet21: 192.168.0.0/17 vnet3: 172.16.0.0/16, subnet3: 172.16.1.0/24 So, the correct options are: Connect con-env1 to vnet1 Use the subnet subnet1 with the subnet mask 10.1.128.0/24
upvoted 3 times
...
RonZhong
1 year, 5 months ago
Q1: VNET 1 & VNET 3 Q2: /24 from Subnet1 or Subnet 3 (bigger than /27 & /23 as required below) Container Apps has two different environment types, which share many of the same networking characteristics with some key differences. 1. Workload profiles environment: /27 is the minimum subnet size required for virtual network integration. 2. Consumption only environment: /23 is the minimum subnet size required for virtual network integration.
upvoted 6 times
RonZhong
1 year, 5 months ago
Link here: https://learn.microsoft.com/en-us/azure/container-apps/networking?tabs=azure-cli
upvoted 2 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