0
0
Azurecloud~20 mins

WAF with Application Gateway in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
WAF Application Gateway Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
How does Azure WAF with Application Gateway handle SQL injection attacks?

Azure Web Application Firewall (WAF) integrated with Application Gateway is configured to protect a web app. What happens when a request contains a SQL injection attack pattern?

AThe WAF logs the SQL injection attempt but allows the request to pass through to the backend.
BThe WAF detects the SQL injection pattern and blocks the request before it reaches the backend web app.
CThe Application Gateway drops the connection without logging or notifying.
DThe Application Gateway forwards the request to the backend, and the backend server blocks the SQL injection.
Attempts:
2 left
💡 Hint

Think about where the WAF inspects traffic and its role in protecting the backend.

Configuration
intermediate
2:00remaining
Which configuration enables WAF logging in Azure Application Gateway?

You want to enable logging for your Azure Application Gateway WAF to monitor blocked requests. Which configuration step is required?

AEnable Azure Monitor alerts on the backend VM to capture WAF logs.
BConfigure backend health probes to log WAF events.
CEnable diagnostics logging in Application Gateway and send logs to a Log Analytics workspace.
DSet up a Network Security Group (NSG) flow log on the Application Gateway subnet.
Attempts:
2 left
💡 Hint

Consider where WAF logs are collected and how Azure services integrate for monitoring.

Architecture
advanced
2:30remaining
Designing a high availability WAF with Application Gateway

You need to design an Azure Application Gateway with WAF that remains available during zone failures. Which architecture ensures zone redundancy?

ADeploy Application Gateway with WAF SKU behind a Load Balancer in a single zone.
BDeploy multiple Application Gateways in different regions without zone redundancy.
CUse a single Application Gateway instance with WAF SKU in one availability zone only.
DDeploy Application Gateway with WAF SKU in multiple availability zones within the same region.
Attempts:
2 left
💡 Hint

Think about Azure's zone redundancy features and how Application Gateway supports them.

security
advanced
2:00remaining
Which WAF rule set mode blocks malicious requests by default?

Azure Application Gateway WAF supports different rule set modes. Which mode blocks malicious requests automatically?

APrevention mode
BDetection mode
CMonitoring mode
DAudit mode
Attempts:
2 left
💡 Hint

Consider which mode actively stops attacks versus just reporting them.

Best Practice
expert
3:00remaining
What is the recommended approach to update WAF custom rules without downtime?

You have custom WAF rules configured on your Azure Application Gateway. How can you update these rules with minimal or no downtime?

AEdit the custom rules directly on the live Application Gateway; changes apply instantly without downtime.
BDelete the existing Application Gateway and recreate it with updated rules during off-hours.
CUse Azure Resource Manager templates to deploy a new Application Gateway with updated rules, then switch traffic using Azure Front Door.
DDisable WAF, update rules, then re-enable WAF on the same Application Gateway.
Attempts:
2 left
💡 Hint

Think about how to avoid impacting live traffic during configuration changes.