- (Exam Topic 4)
Your company plans to implement a new compliance strategy that will require all Azure web apps to be backed up every five hours.
You need to back up an Azure web app named az400-11566895-main every five hours to an Azure Storage account in your resource group.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
With the storage account ready, you can configure backs up in the web app or App Service.
Open the App Service az400-11566895-main, which you want to protect, in the Azure Portal and browse to Settings > Backups. Click Configure and a Backup Configuration blade should appear.
Select the storage account.
Select the container.
If you want to schedule backups, then set Scheduled Backup to On and configure a schedule: every five hours
Select your retention. Note that 0 means never delete backups.
Decide if at least one backup should always be retained.
Choose if any connected databases should be included in the web app backup.
Click Save to finalize the backup configuration.
Reference:
https://petri.com/backing-azure-app-service
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 1)
HOTSPOT
You have an Azure virtual machine named VM1 that runs Linux.
You plan to deploy the Desired State Configuration (DSC) extension to VM1. You need to grant the Log Analytics agent the appropriate directory permissions.
How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Solution:
Box 1: rwx
The Log Analytics agent for Linux runs as the omsagent user. To grant >write permission to the omsagent user, run the command setfacl -m u:omsagent:rwx /tmp.
Box 2: /tmp
Deploying DSC to a Linux node uses the /tmp folder. Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 4)
You plan to onboard 10 new developers.
You need to recommend a development environment that meets the following requirements:
Integrates with GitHub
Provides integrated debugging tools
Supports remote workers and hot-desking environments
Supports developers who use browsers, tablets, and Chromebooks
What should you recommend?
Correct Answer:
D
Visual Studio Codespaces is built to accommodate the widest variety of projects or tasks, including GitHub and integrating debugging.
Visual Studio Codespaces conceptually and technically extends the Visual Studio Code Remote Development extensions.
In addition to "backend" environments, Visual Studio Codespaces supports these "frontend" editors:
Visual Studio Code
Visual Studio Code-based editor in the browser Reference:
https://docs.microsoft.com/sv-se/visualstudio/codespaces/overview/what-is-vsonline
- (Exam Topic 4)
You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named “MAX_ITEMS”. The environmental variable must have a value of 50.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
* 1. In the Azure portal, navigate to the az400-9940427-main app's management page. In the app's left menu, click Configuration > Application settings.
* 2. Click New Application settings
* 3. Enter the following:
Name: MAX_ITEMS
Value: 50 References:
https://docs.microsoft.com/en-us/azure/app-service/configure-common
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 4)
You have an Azure DevOps organization named Contoso.
You have 10 Azure virtual machines that run Windows Server 2019. The virtual machines host an application that you build and deploy by using Azure Pipelines. Each virtual machine has the Web Server (IIS) role installed and configured.
You need to ensure that the web server configurations pin the virtual machines is maintained automatically. The solution must provide centralized management of the configuration settings and minimize management overhead.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Solution:
Step1: Create an Azure Automation account. An Azure Automation account is required.
Step 2: Install the custom Desired State Configuration (DSC) extension on the virtual machines
Under the hood, and without an administrator having to remote into a VM, the Azure VM Desired State Configuration extension registers the VM with Azure Automation State Configuration.
Step 3: Onboard the virtual machines to the Azure Automation account. Step 4: Complete the Desired State Configuration (DSC) configuration. Create a DSC configuration.
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboarding
Does this meet the goal?
Correct Answer:
A