Permalink
Switch branches/tags
Nothing to show
Find file
103f87f Sep 2, 2016
74 lines (74 sloc) 5.33 KB
<section class="quiz" data-title="Implement Web Apps" data-subtitle="Objective 1.2: Configure Web Apps">
<section class="question">
<section class="text">
Which of the following are valid prefixes for connection strings when retrieved using environment variables?
</section>
<section class="answer" data-correct>SQLCONNSTR_</section>
<section class="answer">CONNSTR_</section>
<section class="answer" data-correct>MYSQLCONNSTR_</section>
<section class="answer" data-correct>SQLAZURECONNSTR_</section>
<section class="answer" data-correct>CUSTOMCONNSTR_</section>
<section class="answer">SQLSERVERCONNSTR_ </section>
</section>
<section class="question">
<section class="text">
You purchased a domain name from your own DNS provider, which of the following are valid methods to add this to your Azure web app?
</section>
<section class="answer">Add a TXT record in your DNS provider’s management interface to awverify.azurewebsites.net and then add the domain name into the Azure portal</section>
<section class="answer" data-correct>Add an A record in your DNS provider’s management interface to point to the IP address of your website, and then add the domain name to the Azure portal</section>
<section class="answer">Add a CNAME record in your DNS provider’s management interface to point to your root domain name and then add the domain name to the Azure portal</section>
<section class="answer" data-correct>Add a CNAME record in your DNS provider’s management interface to point to the subdomain of your website and then add the domain name into the Azure portal</section>
</section>
<section class="question">
<section class="text">
Which command should you use to stop an Azure web app called myWebApp using the Xplat-Cli?
</section>
<section class="answer">azure website stop myWebApp</section>
<section class="answer">azure stop site myWebApp</section>
<section class="answer" data-correct>azure site stop myWebApp</section>
<section class="answer">azure stop myWebApp</section>
</section>
<section class="question">
<section class="text">
Which command deletes an app setting called test using the Xplat-Cli?
</section>
<section class="answer">azure site settings delete test</section>
<section class="answer" data-correct>azure site appsetting delete test</section>
<section class="answer">azure appsetting delete test</section>
<section class="answer">azure appsetting remove test</section>
</section>
<section class="question">
<section class="text">
Which command changes to service management mode using the Xplat-Cli?
</section>
<section class="answer">azure switch mode asm</section>
<section class="answer">azure config mode servicemanagement</section>
<section class="answer" data-correct>azure config mode asm</section>
<section class="answer">azure switch mode servicemanagement</section>
<section class="answer">azure mode asm</section>
<section class="answer">azure mode servicemanagement</section>
</section>
<section class="question">
<section class="text">
Which PowerShell command adds an endpoint to a traffic manager profile for an Azure web app?
</section>
<section class="answer" data-correct>Add-AzureTrafficManagerEndpoint -DomainName http://mydomain.azurewebsites.net -status Enabled -Type AzureWebsite </section>
<section class="answer">Add-TrafficManagementEndpoint -URL http://mydomain.azurewebsites.net -status Enabled -Type Website</section>
<section class="answer">Add-AzureTrafficManagerEndpoint -DomainName http://mydomain.azurewebsites.net -Type AzureWebsite </section>
<section class="answer">Add-AzureTrafficManagementEndpoint -URL http://mydomain.azurewebsites.net -status Active</section>
</section>
<section class="question">
<section class="text">How would you enable SSL for your production Azure web app?</section>
<section class="answer">Purchase an SSL certificate from a trusted certificate authority and upload the .CER file to the Azure portal</section>
<section class="answer" data-correct>Purchase an SSL certificate from a trusted certificate authority, import it into the Certificate Store and export it with the private key. Upload the .PFX file to the Azure portal</section>
<section class="answer">Generate a self-signed certificate and upload the .CER file to the Azure portal</section>
<section class="answer">Generate a self-signed certificate and upload the .PFX file to the Azure portal</section>
</section>
<section class="question">
<section class="text">How should you add DNS level routing of requests to your globally distributed web app?</section>
<section class="answer" data-correct>Use a Traffic Manager profile in Performance mode</section>
<section class="answer">Use a Traffic Manager profile in Round Robin mode</section>
<section class="answer">Use the Azure Load Balancer to route requests between Azure data centers</section>
<section class="answer">Use an Azure Application Gateway</section>
</section>
</section>