exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 3 question 38 discussion

Actual exam question from Microsoft's AZ-700
Question #: 38
Topic #: 3
[All AZ-700 Questions]

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



Gateway1 provides access to App1 by using a URL of https://app1.contoso.com.

You create a new web app named App2.

You need to configure Gateway1 to enable access to App2 by using a URL of https://app2.contoso.com. The solution must minimize administrative effort.

What should you configure on Gateway1?

  • A. a backend pool and a routing rule
  • B. a listener and a routing rule
  • C. a listener, a backend pool, and a routing rule
  • D. a listener and a backend pool
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
energie
Highly Voted 1 year, 9 months ago
Selected Answer: C
You can't use the same backend pool.
upvoted 10 times
...
harshit101
Highly Voted 1 year, 9 months ago
Selected Answer: C
Backend pool also needed
upvoted 7 times
...
sismer
Most Recent 3 months, 3 weeks ago
Selected Answer: A
Tested in lab: You can use Mult-Site listeners
upvoted 1 times
...
Tanminator
8 months, 2 weeks ago
Selected Answer: C
Multi-site hosting enables you to configure more than one web application on the same port of application gateways using public-facing listeners. It allows you to configure a more efficient topology for your deployments by adding up to 100+ websites to one application gateway. Each website can be directed to its own backend pool. For example, three domains, contoso.com, fabrikam.com, and adatum.com, point to the IP address of the application gateway. You'd create three multi-site listeners and configure each listener for the respective port and protocol setting. For the new URL, we need a listener, a backend pool for app2 and a routing rule.
upvoted 3 times
...
GBAU
1 year ago
Selected Answer: C
What should you CONFIGURE on Gateway1? Configure a listener to listen for app2.contoso.com Configure a backend pool to add App2 Configure a routing rule to direct traffic for app2.contoso.com to go to App2. Configuring can mean Changing or Creating, it is still configuring.
upvoted 5 times
...
Lazylinux
1 year, 2 months ago
Selected Answer: C
I C for sure it is different FQDN and hence routing rule is required which includes both backend and listener and because both URL are different app1 and app2 then backend is different as for the cert it is wild card and hence can be used for both app1 and app2 urls
upvoted 4 times
Lazylinux
11 months, 3 weeks ago
further add to my explanation since some people are confused and as per below Remember the 2 points below 1- You need to know the routing rule and the listener go in ratio 1-1 i.e. for every rule there MUST be 1 listener and vice versa and NO listener can be associated with more than 1 rule and vice versa - simple proof of this go to your Azure subscription if you have one!!! try from scratch create a rule and routing rule and associate them then try to create another rule - when you try to select listener for the rule it will Prompt you with error message and goes like this "There is NO unassociated listener, please create listener first!!" 2- The multi site option which is by the way ONLY available in App GWY V2 is to be used when you have Domain with multiple sub-domains that you want to point to the same backend pool then you use it as opposed to App GWY V1 where you have to create multiple rules and listeners!!
upvoted 4 times
Sergovladi
4 months ago
no, 1 listener can be Multi-site, configured with many rules pointing to various back ends/pools.
upvoted 1 times
Sergovladi
4 months ago
we do have wild card domain in the example, so we can use it with up to 5 sub-domains with 1 listener, and we can go for for Standard_v2 of Application Gateway
upvoted 1 times
Sergovladi
4 months ago
no doubt, the answer is "C" because asked not to create but configure. The existing listener must be configured or added if AGv1
upvoted 1 times
...
...
...
...
...
daemon101
1 year, 4 months ago
Selected Answer: A
Since we have a wildcard certificate *.contoso.com, we can just use the same listener with multi-site. Hence, i would go for add a rule and backend pool. Using a wildcard character in the host name, you can match multiple host names in a single listener. For example, *.contoso.com can match with ecom.contoso.com, b2b.contoso.com and customer1.b2b.contoso.com and so on. https://learn.microsoft.com/en-us/azure/application-gateway/multiple-site-overview#wildcard-host-names-in-listener
upvoted 6 times
Lazylinux
11 months, 3 weeks ago
Totally incorrect and i cant believe 4 people voted this answer- here is why you wrong for sure and ANSWER is for sure C 1- You need to know the routing rule and the listener go in ratio 1-1 i.e. for every rule there MUST be 1 listener and vice versa and NO listener can be associated with more than 1 rule and vice versa - simple proof of this go to your Azure subscription if you have one!!! try from scratch create a rule and routing rule and associate them then try to create another rule - when you try to select listener for the rule it will Prompt you with error message and goes like this "There is NO unassociated listener, please create listener first!!" 2- The multi site option which is by the way ONLY available in App GWY V2 is to be used when you have Domain with multiple sub-domains that you want to point to the same backend pool then you use it as opposed to App GWY V1 where you have to create multiple rules and listeners!!
upvoted 2 times
sismer
8 months, 3 weeks ago
I think you are wrong. You can use multi-site listeners in AppGW: https://learn.microsoft.com/en-us/azure/application-gateway/multiple-site-overview
upvoted 1 times
...
...
...
roshingrg
1 year, 5 months ago
In order to enable access to App2 through Gateway1 with the URL https://app2.contoso.com, you need to configure the following components: Listener: A listener is responsible for handling incoming traffic and directing it to the appropriate backend pool based on the defined routing rules. In this case, you need to configure a new listener on Gateway1 to handle requests for the URL https://app2.contoso.com. Backend Pool: A backend pool is a collection of resources that can serve the incoming requests. In this scenario, you need to create a new backend pool specifically for App2, which will contain the necessary resources (in this case, the web app App2). Routing Rule: A routing rule determines how the incoming requests should be forwarded to the appropriate backend pool. In this case, you need to create a routing rule that matches requests for the URL https://app2.contoso.com and directs them to the backend pool associated with App2. By configuring a listener, a backend pool, and a routing rule, you can ensure that Gateway1 routes the incoming requests for https://app2.contoso.com to the correct backend pool (App2), thus enabling access to App2 through the specified URL.
upvoted 4 times
...
_fvt
1 year, 7 months ago
Selected Answer: C
You will have to use a multi site listener to be able to listen on the same (HTTPS) for specific host only, then you will create a routing rule to a NEW back-end pool (you don't want to balance the traffic between the two app service but separate it for each listener)
upvoted 1 times
...
MightyMonarch74
1 year, 7 months ago
backend pool and rule
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 ...