exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 3 question 25 discussion

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

You have an Azure Front Door instance that has a single frontend named Frontend1 and an Azure Web Application Firewall (WAF) policy named Policy1. Policy1 redirects requests that have a header containing "string1" to https://www.contoso.com/redirect1. Policy1 is associated to Frontend1.
You need to configure additional redirection settings. Requests to Frontend1 that have a header containing "string2" must be redirected to https:// www.contoso.com/redirect2.
Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Create a custom rule.
  • B. Create a policy.
  • C. Create a frontend host.
  • D. Configure a managed rule.
  • E. Add a custom rule to Policy1.
  • F. Create an association.
Show Suggested Answer Hide Answer
Suggested Answer: AEF 🗳️

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
Villaran
Highly Voted 2 years, 7 months ago
Selected Answer: ABF
I think the order is: B. Create a policy. A. Create a custom rule. F. Create an association.
upvoted 27 times
siddique12345
1 year, 4 months ago
CEF is correct. One frondend host can have only one WAF policy associated. One WAF policy can be associated with multiple Frontend host. Tested in my lab.
upvoted 2 times
...
...
wooyourdaddy
Highly Voted 2 years ago
Selected Answer: AEF
At this link: https://learn.microsoft.com/en-us/azure/web-application-firewall/afds/afds-overview#waf-policy-and-rules It states: A web application delivered by Front Door can have only one WAF policy associated with it at a time. Since the question states "Policy1 is associated to Frontend1.", this eliminates option B. The question also states: "Requests to Frontend1 that have a header containing "string2" must be redirected to https:// www.contoso.com/redirect2.", which tells us that we don't need a new frontend. So option C is eliminated. At the above link, it also states: "managed rule sets that are a collection of Azure-managed pre-configured set of rules." Since we are targeting a specific value of "string2", this option would be eliminated. That leaves us with only AEF as possible answers.
upvoted 26 times
Apptech
1 year, 11 months ago
If we use existing Policy1 instead of creating a new one, we can assume that it has already an association to Frontend1. So F is no possible answer.
upvoted 4 times
ironbornson
1 year, 6 months ago
From the question: "Policy1 is associated to Frontend1". I am missing something?
upvoted 1 times
ironbornson
1 year, 5 months ago
Sorry, ignore my comment. I missread yours. Admin please delete my coment and the previous answer. Thx
upvoted 1 times
...
...
...
...
xRiot007
Most Recent 8 hours, 2 minutes ago
Selected Answer: AE
A - Create a custom rule E - Add the rule to Policy F - Create an association - this seems to not be needed. I have found no documentation about it other than you se the association on policy level
upvoted 1 times
...
Saba53
1 month, 2 weeks ago
Selected Answer: AEF
Create custom rule Add a custom rule to policy1 Create an association
upvoted 1 times
...
Saba53
1 month, 2 weeks ago
Selected Answer: ABF
Create custom rule Add a custom rule to policy1 Create an association
upvoted 1 times
...
bobothewiseman
2 months, 1 week ago
Selected Answer: AEF
A new policy is unnecessary since Policy1 already exists and is associated with Frontend1. You can modify the existing policy.
upvoted 1 times
...
Sergovladi
2 months, 2 weeks ago
Selected Answer: AE
Only 2 steps required: 1) custom rule to handle the request containing "string2", and 2) adding up this custom rule to the existing policy Front end host remains the same as no new domain or subdomain has been configured. Subsequently, all other steps are unnecessary
upvoted 1 times
Sergovladi
2 months, 2 weeks ago
P.S. "Managed rule" is a Microsoft pre-configured rule with options enable/disable, you cannot create it.
upvoted 1 times
...
...
Ganchev
3 months, 3 weeks ago
Selected Answer: AEF
A,E,F - A rule is made of a match condition, a priority, and an action. Action types supported are ALLOW, BLOCK, LOG, and REDIRECT. You can create a fully customized policy that meets your specific application protection requirements by combining managed and custom rules.
upvoted 3 times
...
CharlesS76
9 months, 3 weeks ago
Selected Answer: AEF
wooyourdaddy is correct. A,E,F are needed to setup WAF with a new redirect rule.
upvoted 4 times
...
NSF2
1 year, 1 month ago
1. You don't need new policy so B is out. "A web application delivered by Azure Front Door can have only one WAF policy associated with it at a time." 2. Question says "Policy1 is associated to Frontend1", so F is out as no new association is required. 3. The front end host does already exist, so C is out. And that leaves us with ADE
upvoted 4 times
...
Lazylinux
1 year, 4 months ago
Selected Answer: ABC
The following points apply • You can ONLY apply one WAF policy per AFD domain (Endpoint) • WAF Policy can ONLY have ONE redirection that is configured at the Policy settings and hence if you have two different redirections which is the case in this question than you will need two different WAF policies • Independent Association Action is NOT needed here as when you create WAF policy it will require you to chose the appropriate Endpoint (Domain and hence you are associating the WAF policy) [Note: any Endpoint that already has WAF policy applied to it will NOT be present and hence New Endpoint-Domain is required]
upvoted 2 times
Lazylinux
1 year, 4 months ago
Following on from previous • Within the Policy you create custom rule with the appropriate re-direction settings - such as Match rule type, Priority, condition IF match type => choose String => Match variable “RequestHeader”, Header name, Operation IS, Operator CONTAINS, Transformation => Lower Case, Match value “string2” , THEN => Redirect Traffic (this setting is taken from Policy Settings which is Global to the policy) Once Done click OK and SAVE • Associations can be check from the Associations option under settings and as I said is automatically once the Policy is created, if you need add new one then first you need NEW DOMAIN as the existing once will be grayed out if already associated with WAF policy
upvoted 2 times
Lazylinux
1 year, 4 months ago
Following on from previous • The ONLY thing that was NOT mentioned in the question and is Definitely NEEDED is the ROUTING RULE (ROUTES), because when you create NEW Endpoint (Domain) you need routing rule to be associated with it. However you can still use the same backend (origin group) and the origin (Backend instance) • Option D – NOT at all
upvoted 1 times
Lazylinux
1 year, 4 months ago
• Option E - Yes you can add custom rule and configure accordingly for STRING2, however the re-direct Option is Global to the policy and done via Policy settings and since we already have one i.e. STRING1, the it will redirect to (https://www.contoso.com/redirect1.) and NOT as per requirement (https://www.contoso.com/redirect2) • Option F – this is NOT required as this is done by default then you first create WAF Policy, it will force you to associate with Endpoint (Domain) Therefore Based on the above and been tested I would chose ABC which I can see no one else chose!!
upvoted 1 times
...
...
...
...
roshingrg
1 year, 10 months ago
The three actions you should perform to configure the additional redirection settings are: A. Create a custom rule: This custom rule will define the condition for redirecting requests that have a header containing "string2" to the desired URL. Custom rules allow you to define specific behavior based on your requirements. E. Add a custom rule to Policy1: Once you have created the custom rule, you need to add it to Policy1. This ensures that the new rule is part of the policy and will be applied to the incoming requests. F. Create an association: To apply the updated Policy1 to Frontend1, you need to create an association between the policy and the frontend. This ensures that the policy is enforced for requests coming through Frontend1. So, the correct actions to configure the additional redirection settings would be: A. Create a custom rule. E. Add a custom rule to Policy1. F. Create an association.
upvoted 6 times
GBAU
1 year, 5 months ago
In the question "Policy1 is associated to Frontend1", so F does not apply.
upvoted 1 times
...
...
hal01
1 year, 11 months ago
Selected Answer: ABE
To configure additional redirection settings to redirect requests to Frontend1 that have a header containing "string2" to https://www.contoso.com/redirect2, you should perform the following three actions: B. Create a policy: If you haven't created a policy already, create a new Azure Web Application Firewall (WAF) policy named Policy1. A. Create a custom rule: Create a custom rule in Policy1 to redirect requests that have a header containing "string2" to https://www.contoso.com/redirect2. E. Add a custom rule to Policy1: Add the custom rule created in the previous step to Policy1. The other options listed are not required for this scenario: C. Create a frontend host: A frontend host is not required since Frontend1 already exists. D. Configure a managed rule: Managed rules are not required for this scenario. F. Create an association: An association is not required since Policy1 is already associated with Frontend1.
upvoted 3 times
...
_fvt
2 years ago
Not C - You need to use Frontend 1 Not D - Not sure what it is, probably microsoft WAF policy managed rules which will no helps in our case Not E - You cannot have two different redirect URLs in the same WAF policy, even in different rules (tested in lab) F - you cannot create an association to the same route which would likely needs be /* there as asked in this scenario, so you are blocker with only 1 WAF policy... You can create a policy and a custom rule but not associate it... I think this question is outdated, WAF policies are not meant to be used for redirect. Normally for this you just a create a Frond Door rule set with all your conditions and rediects and that's it.
upvoted 2 times
...
[Removed]
2 years ago
To configure additional redirection settings, you should perform the following three actions: A. Create a custom rule that matches requests with a header containing "string2". E. Add a custom rule to Policy1 that redirects requests that match the custom rule to https://www.contoso.com/redirect2. F. Create an association between Frontend1 and Policy1. Therefore, the correct answer is: A, E, F.
upvoted 2 times
...
breakpoint0815
2 years ago
Selected Answer: AEF
You already have a Policy1, no need to create a new one (= not B) You already have a Frontend Host, Frontend1 (= Not C) You need to deploy a custom rule (=Not D)
upvoted 2 times
Apptech
1 year, 11 months ago
For Policy1 we also have an association to Frontend1 ...
upvoted 2 times
...
...
Apptech
2 years ago
The text clearly says: 1. Requests to Frontend1 that have a header containing "string2" must be redirected 2. Frontend1 already has a policy assigned. Because of the fact that you cannot add more than 1 policy to frontend1 it makes no sense to create a second policy. For that reasin my vote is CEF
upvoted 1 times
Apptech
1 year, 11 months ago
I have to add that option F don't make sende in that scenario because Policy 1 must have an association to Frontend1
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