1. You plan to deploy the following Azure web apps:
WebApp1, that uses the .NET 6 runtime stack
WebApp2, that uses the ASP.NET V4.8 runtime stack
WebApp3, that uses the Java 17 runtime stack
WebApp4, that uses the PHP 8.0 runtime stack
You need to create the app service plans for the web apps.
What is the minimum number of app service plans that should be created?
Answer :4
The minimum number of app service plans that should be created is 4.
The web apps use different runtime stacks, so they will each require their own app service plan. Each of
the web apps uses a different combination of the .NET and ASP.NET runtimes, so they will each require a
different combination of the app service plans.
For example: WebApp1 uses the .NET 5 runtime stack, so it will require an app service plan with the
names Microsoft.Web/2 and Microsoft.Web/3 on it. WebApp2 uses the ASP.NET V4.8 runtime stack, so it
will require an app service plan with the names Microsoft.Web/4 and Microsoft.Web/5 on it. WebApp3
uses Java 11, so it will require an app service plan with the name Microsoft.Web/6 on it. WebApp4 uses
PHP 8, so it will require an app service plan with the name Microsoft.Web/7 on it
The web apps are all based on .NET 5 and ASP.NET V4.8, so they can share the same app service plan.
WebApp1 and WebApp2 should use their own app service plans. This will prevent them from interfering
with each other.
WebApp3 and WebApp4 should use their own app service plans, as well. This will prevent them from
interfering with each other, as well as preventing WebApp3 from interfering with WebApp4's
incompatibility issues with Java 11.
2. You plan to deploy an Azure web app that will have the following settings:
Name: WebApp1
Publish: Code
Runtime stack: Java 11
Operating system: Linux
Continuous deployment: Disable
You need to ensure that you can integrate WebApp1 with GitHub Actions.
Which setting should you modify?
Select only one answer.
Publish Runtime stack Operating system Continuous deployment
When you deploy an Azure web app, there are a number of settings that you can configure. One
of these is the Continuous deployment setting. This setting determines whether or not your web
app will be automatically deployed when changes are made to the code in your GitHub
repository.
If you want to be able to integrate your WebApp1 with GitHub Actions, then you will need to
modify the Continuous deployment setting. You can do this by going to the Azure portal, and
then selecting your WebApp1. In the left-hand menu, under Settings, you will see an option for
Continuous deployment. You will need to set this to Enabled.
, Once you have done this, you will be able to use GitHub Actions to automatically deploy your
web app when changes are made to the code in your repository.
3. You plan to deploy an Azure web app that will have the following settings:
Name: WebApp1
Publish: Docker container
Operating system: Windows
Region: West US
Windows Plan (West US): ASP-RG1-8bcf
You need to ensure that WebApp1 uses the ASP.NET V4.8 runtime stack.
Which setting should you modify?
Select only one answer.
Region Operating system Publish Windows Plan
An Azure web app's Publish setting governs how and in what kind of container it will be installed. The
Publish setting should be changed to use the ASP.NET V4.8 runtime stack in this instance since the
program is being released in a Docker container. This will guarantee that the program is placed in the
appropriate container and uses the appropriate runtime stack.
4. You have the following Azure resources:
Azure Key Vault named KeyVault1
Azure App Service named WebApp1
You need to ensure that WebApp1 can access KeyVault1 by using Azure Active Directory (Azure AD)
authentication.
Which two settings can be used to configure WebApp1? Each correct answer presents a complete
solution.
Select all answers that apply.
User assigned managed identity Application settings TLS/SSL bindings App Service
Authentication System assigned managed identity
5. You plan to create an Azure container instance named container1 that will use a Docker image
named Image1.
You need to ensure that container1 has persistent storage.
Which Azure resources should you deploy for the persistent storage?
Select only one answer.
an Azure container registry an Azure Storage account and a file share an Azure Storage
account and a blob container an Azure SQL database
The Azure Storage platform is Microsoft's cloud storage solution for modern data storage scenarios.
Azure Storage offers highly available, massively scalable, durable, and secure storage for a variety of
data objects in the cloud.
, 6. You have an Azure container registry that stores an image named Image1 and a Windows Server
2022 Azure virtual machine named VM1.
You need to ensure that you can run Image1 in VM1.
What should you install in VM1?
Select only one answer.
Docker Hyper-V role Azure Portal .NET Framework 4.7
7. You have an Azure storage account named storage1.
Three users use the following methods to access the data in storage1:
User1 uses the Azure portal
User2 uses the Azure Storage Explorer
User3 uses File Explorer in Windows 11
You generate a storage access signature named SAS1 for storage1.
Which user or users can access storage1 by using SAS1?
Select only one answer.
User1 only User2 only User1 and User2 only User2 and User3 only User1, User2 and
User3
8. Your Azure Active Directory contains three users named User1, User2, and User3.
You have an Azure storage account named storage1 that has the following access:
User1 is assigned the Storage Account Contributor role on storage1
User2 has a access key for storage1
User3 has a shared access signature for storage1
You rotate the keys for storage1.
Which user or users can access storage1?
Select only one answer.
User1 only User1 and User2 only User2 and User3 only User1, User2 and User3
9. You have an Azure virtual machine named VM1 that connects to a virtual network named
VNET1.
You create a private DNS zone named contoso.com and add an A record named host1 to the zone.
You need to ensure that VM1 can resolve host1.contoso.com.
What should you do?
Select only one answer.
Modify the Access control (IAM) settings of the zone. From the zone, add a virtual network
link. From the properties of the network interface, modify the options of the DNS servers.
From the properties of VNET1, modify the options of the DNS servers.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Ethanhope. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $21.68. You're not tied to anything after your purchase.