You have a web app named WebApp1 that uses an Azure App Service plan named Plan1. Plan1 uses the D1 pricing tier and has an instance count of 1.
You need to ensure that all connections to WebApp1 use HTTPS.
What should you do first?
Click on the arrows to vote for the correct answer
A. B. C. D.A
The D1 (Shared) pricing tier does not support HTTPS.
The correct answer is B. Modify the connection strings for WebApp1.
Explanation:
Enabling HTTPS for your web app is a critical security measure to protect your application data from unauthorized access. To ensure that all connections to WebApp1 use HTTPS, you need to configure your web app to require HTTPS.
Here are the steps to configure HTTPS for your web app:
By enabling HTTPS Only, all requests to your web app will be redirected to use HTTPS. This ensures that your web app traffic is encrypted and secure.
Now, to implement this configuration, you need to modify the connection strings for your web app. Connection strings contain the URL that your application uses to connect to resources such as databases and APIs. By modifying the connection strings, you can ensure that all connections to your web app use HTTPS.
Here are the steps to modify the connection strings for your web app:
Scaling up or scaling out your App Service plan (options A and C) will not directly address the requirement to enable HTTPS for your web app. Disabling anonymous access to your web app (option D) is also not a solution to the requirement.