ExamGecko
Home Home / Microsoft / AZ-500

Microsoft AZ-500 Practice Test - Questions Answers, Page 22

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You have an Azure subscription that contains the resources shown in the following table.

You create the Azure Storage accounts shown in the following table.

You need to configure auditing for SQL1.

Which storage accounts and Log Analytics workspaces can you use as the audit log destination? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 211
Correct answer: Question 211

HOTSPOT

You have an Azure subscription named Sub1. Sub1 has an Azure Storage account named Storage1 that contains the resources shown in the following table.

You generate a shared access signature (SAS) to connect to the blob service and the file service.

Which tool can you use to access the contents in Container1 and Share1 by using the SAS? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 212
Correct answer: Question 212

You have an Azure Storage account named storage1 that has a container named container1.

You need to prevent the blobs in container1 from being modified.

What should you do?

A.
From container1, change the access level.
A.
From container1, change the access level.
Answers
B.
From container1, add an access policy.
B.
From container1, add an access policy.
Answers
C.
From container1, modify the Access Control (IAM) settings.
C.
From container1, modify the Access Control (IAM) settings.
Answers
D.
From storage1, enable soft delete for blobs.
D.
From storage1, enable soft delete for blobs.
Answers
Suggested answer: B

Explanation:

References:

https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-immutable-storage?tabs=azure-portal

You company has an Azure Active Directory (Azure AD) tenant named contoso.com.

You plan to create several security alerts by using Azure Monitor.

You need to prepare the Azure subscription for the alerts.

What should you create first?

A.
An Azure Storage account
A.
An Azure Storage account
Answers
B.
an Azure Log Analytics workspace
B.
an Azure Log Analytics workspace
Answers
C.
an Azure event hub
C.
an Azure event hub
Answers
D.
an Azure Automation account
D.
an Azure Automation account
Answers
Suggested answer: B

You company has an Azure subscription named Sub1. Sub1 contains an Azure web app named WebApp1 that uses Azure Application Insights. WebApp1 requires users to authenticate by using OAuth 2.0 client secrets.

Developers at the company plan to create a multi-step web test app that preforms synthetic transactions emulating user traffic to Web App1.

You need to ensure that web tests can run unattended.

What should you do first?

A.
In Microsoft Visual Studio, modify the .webtest file.
A.
In Microsoft Visual Studio, modify the .webtest file.
Answers
B.
Upload the .webtest file to Application Insights.
B.
Upload the .webtest file to Application Insights.
Answers
C.
Register the web test app in Azure AD.
C.
Register the web test app in Azure AD.
Answers
D.
Add a plug-in to the web test app.
D.
Add a plug-in to the web test app.
Answers
Suggested answer: B

You are troubleshooting a security issue for an Azure Storage account.

You enable the diagnostic logs for the storage account.

What should you use to retrieve the diagnostics logs?

A.
the Security & Compliance admin center
A.
the Security & Compliance admin center
Answers
B.
Azure Security Center
B.
Azure Security Center
Answers
C.
Azure Cosmos DB explorer
C.
Azure Cosmos DB explorer
Answers
D.
AzCopy
D.
AzCopy
Answers
Suggested answer: D

Explanation:

If you want to download the metrics for long-term storage or to analyze them locally, you must use a tool or write some code to read the tables. You must download the minute metrics for analysis. The tables do not appear if you list all the tables in your storage account, but you can access them directly by name. Many storage-browsing tools are aware of these tables and enable you to view them directly (see Azure Storage Client Tools for a list of available tools).

Microsoft provides several graphical user interface (GUI) tools for working with the data in your Azure Storage account. All of the tools outlined in the following table are free.

Note:

There are several versions of this question in the exam. The questions in the exam have two different correct answers:

1. Azure Storage Explorer

2. AZCopy

Other incorrect answer options you may see on the exam include the following:

1. SQL query editor in Azure

2. File Explorer in Windows

3. Azure Monitor

Reference:

https://docs.microsoft.com/en-us/azure/storage/common/storage-analytics-metrics?toc=%2fazure%2fstorage%2fblobs%2ftoc.json

https://docs.microsoft.com/en-us/azure/storage/common/storage-explorers

You have an Azure subscription that contains the virtual machines shown in the following table.

From Azure Security Center, you turn on Auto Provisioning.

You deploy the virtual machines shown in the following table.

On which virtual machines is the Microsoft Monitoring agent installed?

A.
VM3 only
A.
VM3 only
Answers
B.
VM1 and VM3 only
B.
VM1 and VM3 only
Answers
C.
VM3 and VM4 only
C.
VM3 and VM4 only
Answers
D.
VM1, VM2, VM3, and VM4
D.
VM1, VM2, VM3, and VM4
Answers
Suggested answer: D

Explanation:

When automatic provisioning is enabled, Security Center provisions the Microsoft Monitoring Agent on all supported Azure VMs and any new ones that are created. Supported Operating systems include: Ubuntu 14.04 LTS (x86/x64), 16.04 LTS (x86/x64), and 18.04 LTS (x64) and Windows Server 2008 R2, 2012, 2012 R2, 2016, version 1709 and 1803.

References:

https://docs.microsoft.com/en-us/azure/security-center/security-center-faq

SIMULATION

You need to email an alert to a user named [email protected] if the average CPU usage of a virtual machine named VM1 is greater than 70 percent for a period of 15 minutes.

To complete this task, sign in to the Azure portal.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

Create an alert rule on a metric with the Azure portal

1. In the portal, locate the resource, here VM1, you are interested in monitoring and select it.

2. Select Alerts (Classic) under the MONITORING section. The text and icon may vary slightly for different resources.

3. Select the Add metric alert (classic) button and fill in the fields as per below, and click OK.

Metric: CPU Percentage

Condition: Greater than

Period: Over last 15 minutes

Notify via: email

Additional administrator email(s): [email protected]

Reference:

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-insights-alerts-portal

SIMULATION

You need to collect all the audit failure data from the security log of a virtual machine named VM1 to an Azure Storage account.

To complete this task, sign in to the Azure portal.

This task might take several minutes to complete You can perform other tasks while the task completes.

A.
A.
Answers
Suggested answer: A

Explanation:

Answer: A

Explanation:

Step 1: Create a workspace

Azure Monitor can collect data directly from your Azure virtual machines into a Log Analytics workspace for detailed analysis and correlation.

1. In the Azure portal, select All services. In the list of resources, type Log Analytics. As you begin typing, the list filters based on your input. Select Log Analytics workspaces.

2. Select Create, and then select choices for the following items:

3. After providing the required information on the Log Analytics workspace pane, select OK.

While the information is verified and the workspace is created, you can track its progress under Notifications from the menu.

Step 2: Enable the Log Analytics VM Extension

Installing the Log Analytics VM extension for Windows and Linux allows Azure Monitor to collect data from your Azure VMs.

1. In the Azure portal, select All services found in the upper left-hand corner. In the list of resources, type Log Analytics. As you begin typing, the list filters based on your input. Select Log Analytics workspaces.

2. In your list of Log Analytics workspaces, select DefaultWorkspace (the name you created in step 1).

3. On the left-hand menu, under Workspace Data Sources, select Virtual machines.

4. In the list of Virtual machines, select a virtual machine you want to install the agent on. Notice that the Log Analytics connection status for the VM indicates that it is Not connected.

5. In the details for your virtual machine, select Connect. The agent is automatically installed and configured for your Log Analytics workspace. This process takes a few minutes, during which time the Status shows Connecting.

After you install and connect the agent, the Log Analytics connection status will be updated with This workspace.

Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/learn/quick-collect-azurevm

HOTSPOT

You have an Azure subscription that contains the alerts shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.

NOTE: Each correct selection is worth one point.


Question 220
Correct answer: Question 220

Explanation:

References:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/alerts-overview

Total 439 questions
Go to page: of 44