Microsoft Azure Developer Associate AZ-204 Practice Question
You are securing an Azure App Service Web App named ContosoApp that already hosts the custom domain contoso.com. The security team requires that users can reach the site only over HTTPS and that the connection must negotiate TLS 1.2 or later. You want to meet both requirements by using built-in App Service features without changing application code. Which configuration should you apply?
Add a web.config rewrite rule that redirects HTTP to HTTPS and leave HTTPS Only disabled.
Set Minimum TLS Version to 1.3 and enable HTTP/2 in General Settings.
Turn on HTTPS Only and set Minimum TLS Version to 1.2 in the TLS/SSL settings blade.
Enable ARR Affinity, disable FTP deployments, and set Minimum TLS Version to 1.0.
Enabling the HTTPS Only switch causes the platform to redirect every HTTP request to HTTPS automatically, satisfying the "HTTPS only" requirement without any custom rewrite rules. Setting Minimum TLS Version to 1.2 tells App Service to refuse handshakes that try to use TLS 1.0 or 1.1, ensuring that all successful connections negotiate TLS 1.2 or newer. The other options either do not enforce both requirements or rely on unsupported or unnecessary settings. ARR Affinity and FTP disablement do not affect TLS or protocol enforcement, a custom rewrite rule is unnecessary when HTTPS Only is available, and App Service does not currently support forcing TLS 1.3.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the HTTPS Only feature in Azure App Service?
Open an interactive chat with Bash
What does Minimum TLS Version mean in Azure App Service?
Open an interactive chat with Bash
Why can't TLS 1.3 be enforced in Azure App Service?
Open an interactive chat with Bash
Microsoft Azure Developer Associate AZ-204
Develop Azure compute solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .