122k views
0 votes
You have Azure subscription that includes virtual network with following subnets: Subnet1, which has connected virtual machine Subnet2, which has connected web app Subnet3, which has connected container instance You plan to deploy container instance named container1. To which subnets can you connect container1? Select only one answer. Subnet3 only Subnet1 and Subnet3 only Subnet2 and Subnet3 only Subnet1, Subnet2 and Subnet3

User Kaifei
by
6.8k points

2 Answers

2 votes

Final answer:

A new container instance named container1 can be connected to Subnet1, Subnet2, and Subnet3, assuming that no network security rules or service policies prevent the connection and that the subnets are appropriately configured.

Step-by-step explanation:

When deploying a container instance in Azure, you can typically connect it to any subnet within a virtual network as long as the networking rules and configurations allow it. However, Azure Container Instances (ACI) have some limitations and specific requirements around networking. Given that Subnet3 already has a connected container instance, it's clear that container instances can be deployed in that subnet. There's no information in the question that would prevent the container1 from being deployed to Subnet1 or Subnet2, assuming that networking and service policies allow this.

So, the answer to the question 'To which subnets can you connect container1?' is Subnet1, Subnet2, and Subnet3, assuming that all subnets are configured to support container instances and there are no network security rules or service policies preventing the connection.

User Malcor
by
6.5k points
4 votes

Answer:

You have an Azure subscription that contains the following resources:

a storage account named storage123

a container instance named AppContainer

The subscription contains a virtual network named VirtualNet4 that has the following subnets:

SubnetA- storage123 is connected to SubnetA.

SubnetB- AppContainer is connected to SubnetB.

SubnetC- No resources.

You plan to deploy an Azure container instance named container5 to VirtualNet4.

To which subnets can you deploy container5?

Select only one answer.

SubnetB only

SubnetC only

SubnetB and SubnetC only

SubnetA, SubnetB, and SubnetC

User Viuser
by
7.1k points