az-104 dumps topic 6, 1-60 Flashcards
You have an Azure subscription that has a Recovery Services vault named Vault1. The subscription contains the virtual machines shown in the following table:
Name Operating system Auto-shutdown
VM1 Windows Server 2012 R2 Off
VM2 Windows Server 2016 19:00
VM3 Ubuntu Server 18.04 LTS Off
VM4 Windows 10 19:00
You plan to schedule backups to occur every night at 23:00.
Which virtual machines can you back up by using Azure Backup?
A. VM1 and VM3 only
B. VM1, VM2, VM3 and VM4
C. VM1 and VM2 only
D. VM1 only
B. VM1, VM2, VM3 and VM4
Azure Backup supports backup of:
- 64-bit Windows server operating system from Windows Server 2008.
- 64-bit Windows 10 operating system.
- 64-bit Ubuntu Server operating system from Ubuntu 12.04.
- VM that are shutdown or offline.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-support-matrix-iaas https://docs.microsoft.com/en-us/azure/virtualmachines/linux/endorsed-distros
You have an Azure subscription that contains a virtual machine named VM1.
You plan to deploy an Azure Monitor alert rule that will trigger an alert when CPU usage on VM1 exceeds 80 percent.
You need to ensure that the alert rule sends an email message to two users named User1 and User2.
What should you create for Azure Monitor?
A. an action group
B. a mail-enabled security group
C. a distribution group
D. a Microsoft 365 group
A. an action group
“Alerts consist of:
- Action groups
- Alert conditions
- User response
- Alert processing rules”
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview
You have the Azure virtual machines shown in the following table:
Name Azure Region
VM1 West Europe
VM2 West Europe
VM3 North Europe
VM4 North Europe
You have a Recovery Services vault that protects VM1 and VM2.
You need to protect VM3 and VM4 by using Recovery Services.
What should you do first?
A. Create a new Recovery Services vault
B. Create a storage account
C. Congure the extensions for VM3 and VM4
D. Create a new backup policy
A. Create a new Recovery Services vault
VM3 and VM4 are in a different region from VM1 and VM2. So, we need to create a new Recovery Services Vault in the same region with VM3 and VM4. For storage account, it is created automatically by Azure.
A Recovery Services vault is a storage entity in Azure that houses data. The data is typically copies of data, or configuration information for virtual machines (VMs), workloads, servers, or workstations. You can use Recovery Services vaults to hold backup data for various Azure services.
Reference:
https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replication
You have an Azure subscription that contains an Azure Storage account named storage1 and the users shown in the following table.
Name Member of
User1 Group1
User2 Group2
User3 Group1
You plan to monitor storage1 and to configure email notications for the signals shown in the following table.
Name Type Users to notify
Ingress Metric User1 and User3 only
Egress Metric User1 only
Delete storage account Activity log User1, User2, and User3
Restore blob ranges Activity log User1 and User3 only
You need to identify the minimum number of alert rules and action groups required for the planned monitoring.
How many alert rules and action groups should you identify?
Hot Area:
Alert rules: 1, 2, 3, 4
Action groups: 1, 2, 3, 4
Alert rules: 4
You need 1 alert rule per 1 signal (1xIngress, 1xEgress, 1xDelete storage account, 1xRestore blob ranges).
Action groups: 3
You need 3 Action Groups (1xUser1 and User3, 1xUser1 only, 1xUser1 User2 and User3). Check ‘Users to notify’ column.
You can define only one activity log signal per alert rule. To alert on more signals, create another alert rule.
You have an Azure subscription that contains the identities shown in the following table.
Name Type Member of
User1 User None
User2 User Group1
Principal1 Managed identity None
Principal2 Managed identity Group1
User1, Principal1, and Group1 are assigned the Monitoring Reader role.
An action group named AG1 has the Email Azure Resource Manager Role notication type and is configured to email the Monitoring Reader role.
You create an alert rule named Alert1 that uses AG1.
You need to identity who will receive an email notication when Alert1 is triggered. Who should you identify?
A. User1 and Principal1 only
B. User1, User2, Principal1, and Principal2
C. User1 only
D. User1 and User2 only
D. User1 and User2 only
When you use Azure Resource Manager for email notifications, you can send email to the members of a subscription’s role. Email is sent to Microsoft Entra ID user or group members of the role.
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups#email-azure-resource-manager
Action Groups only supports emailing the following roles: Owner, Contributor, Reader, Monitoring Contributor, Monitoring Reader.
You have an Azure virtual machine named VM1 and a Recovery Services vault named Vault1.
You create a backup policy named Policy1 as shown in the exhibit.
Policy1
Backup schedule
Frequency Time Timezone
Daily 2:00am UTC
Retention range
Daily: at 2:00am for 5 days
Weekly: on Sunday at 2:00am for 20 weeks
Monthly: on 2 at 2:00am for 24 weeks
Yearly: in Jan on 9 at 2:00am for 24 months
You congure the backup of VM1 to use Policy1 on Thursday, January 1 at 1:00 AM.
You need to identify the number of available recovery points for VM1. How many recovery points are available on January 8 and January 15?
January 8 at 2:00 PM (14:00): … 5, 6, 8, 9
January 15 at 2:00 PM (14:00): … 5, 8, 17, 19
January 8 at 2:00 PM (14:00): 6
5 latest daily recovery points, which includes the weekly backup from the previous Sunday, plus the monthly recovery point.
January 15 at 2:00 PM (14:00): 8
5 latest daily recovery points, plus two weekly backups, plus the monthly recovery point.
Backups at the same day counted as one.
Reference:
https://social.technet.microsoft.com/Forums/en-US/854ab6ae-79aa-4bad-ac65-471c4d422e94/daily-monthly-yearly-recovery-points-andstorage-used? forum=windowsazureonlinebackup
You have the web apps shown in the following table.
Name Web framework Hosting environment
App1 Microsoft ASP.NET (1)
App2 Microsoft ASP.NET Core (2)
(1) An on-premises physical server that runs Windows Server 2019 and has Internet Information Services (IIS) configured
(2) An Azure virtual machine that runs Windows Server 2019 and has Internet Information Services (IIS) configured
You need to monitor the performance and usage of the apps by using Azure Application Insights. The solution must minimize modications to the application code. What should you do on each app?
App1: …
App2: …
- Install the Log Analytics agent
- Install the Azure Monitor agent
- Use the Application Insights SDK
- Install the Application Insights Agent
App1: - Install the Application Insights Agent
App2: - Install the Application Insights Agent
There are two ways to enable application monitoring for OnPrem, VM or App Services Web APP:
- Auto-instrumentation by using Application Insight Agent
- Manual instrumentation by installing the Application Insight SDK through code
So as it’s mentioned the solution must minimize the modification then it’s Application Insight Agent
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-web-apps
You have an Azure virtual machine named VM1.
You use Azure Backup to create a backup of VM1 named Backup1.
After creating Backup1, you perform the following changes to VM1:
✑ Modify the size of VM1.
✑ Copy a file named Budget.xls to a folder named Data.
✑ Reset the password for the built-in administrator account.
✑ Add a data disk to VM1.
An administrator uses the Replace existing option to restore VM1 from Backup1.
You need to ensure that all the changes to VM1 are restored.
Which change should you perform again?
A. Modify the size of VM1.
B. Reset the password for the built-in administrator account.
C. Add a data disk.
D. Copy Budget.xls to Data.
D. Copy Budget.xls to Data.
Conclusion, VM size and password will not be overridden by the restore process. Add a data disk - Data disk will not gone (deleted). It will be unmapped.
You will need to perform the changes again:
2. Copy the file.
Reference:
https://docs.microsoft.com/en-us/azure/backup/about-azure-vm-restore
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains the users shown in the following table.
Name Member of Role assigned
User1 Group1 None
User2 Group2 None
User3 Group1, Group2 User administrator
You enable password reset for contoso.onmicrosoft.com as shown in the Password Reset exhibit. (Click the Password Reset tab.)
Self service password reset enabled: None | [Selected] | All
Selected group: Group2
You congure the authentication methods for password reset as shown in the Authentication Methods exhibit. (Click the Authentication Methods tab.)
Number of methods required to reset: 1 | [2]
Methods available to users:
Mobile app notification
Mobile app code
Email
[Mobile phone]
Office phone
[Security questions]
Number of questions required to register: 3 | 4 | [5]
Number of questions required to reset: [3] | 4 | 5
Select security questions: 10 security questions selected
Yes/No:
After User2 answers three security questions correctly, he can reset his password immediately.
If User1 forgets her password, she can reset the password by using the mobile phone app.
User3 can add security questions to the password reset process.
After User2 answers three security questions correctly, he can reset his password immediately. - No, two methods are required.
If User1 forgets her password, she can reset the password by using the mobile phone app. - No, self-service password reset is only enabled for Group2, and User1 is not a member of Group2.
User3 can add security questions to the password reset process. - Yes, as a User Administrator, User3 can add security questions to the reset process.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/quickstart-sspr https://docs.microsoft.com/en-us/azure/activedirectory/authentication/active-directory-passwords-faq
Your company has a main office in London that contains 100 client computers.
Three years ago, you migrated to Azure Active Directory (Azure AD).
The company’s security policy states that all personal devices and corporate-owned devices must be registered or joined to Azure AD.
A remote user named User1 is unable to join a personal device to Azure AD from a home network.
You verify that User1 was able to join devices to Azure AD in the past.
You need to ensure that User1 can join the device to Azure AD.
What should you do?
A. Assign the User administrator role to User1.
B. From the Device settings blade, modify the Maximum number of devices per user setting.
C. Create a point-to-site VPN from the home network of User1 to Azure.
D. From the Device settings blade, modify the Users may join devices to Azure AD setting.
B. From the Device settings blade, modify the Maximum number of devices per user setting.
The Maximum number of devices setting enables you to select the maximum number of devices that a user can have in Azure AD. If a user reaches this quota, they will not be able to add additional devices until one or more of the existing devices are removed.
Incorrect Answers:
C: Azure AD Join enables users to join their devices to Active Directory from anywhere as long as they have connectivity with the Internet.
D: The Users may join devices to Azure AD setting enables you to select the users who can join devices to Azure AD. Options are All, Selected and None. The default is All.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/devices/device-management-azure-portal http://techgenix.com/pros-and-cons-azuread-join/
You have two Azure App Service app named App1 and App2. Each app has a production deployment slot and a test deployment slot.
The Backup Conguration settings for the production slots are shown in the following table.
App Backup every Start backup schedule from Retention(days) Keep at least one backup
App1, 1 Days, January 6, 2021, 0, Yes
App2, 1 Days, January 6, 2021, 30, Yes
Yes/No:
On January 15, 2021, App1 will have only one backup in storage.
On February 6, 2021, you can access the backup of the App2 test slot from January 15, 2021.
On January 15, 2021, you can restore the App2 production slot backup from January 6 to the App2 test slot.
On January 15, 2021, App1 will have only one backup in storage. - No
On January 15th you will have 9 backups as 0 day retention is defined as indefinite.
[How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.]
https://docs.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest
On February 6, 2021, you can access the backup of the App2 test slot from January 15, 2021. - No
The DevOps / Web apps backup in the questions only includes the production slot. One cannot restore a test slot from a production slot backup.
[If a slot is not specified, the API will create a backup for the production slot.]
https://docs.microsoft.com/en-us/rest/api/appservice/web-apps/backup-slot
On January 15, 2021, you can restore the App2 production slot backup from January 6 to the App2 test slot. - Yes
January 6th backup will still be within the 30 days retention as of January 15th.
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com. The tenant is synced to the onpremises Active Directory domain. The domain contains the users shown in the following table.
Name Role
SecAdmin1 Security administrator
BillAdmin1 Billing administrator
User1 Reports reader
You enable self-service password reset (SSPR) for all users and congure SSPR to have the following authentication methods:
✑ Number of methods required to reset: 2
✑ Methods available to users: Mobile phone, Security questions
✑ Number of questions required to register: 3
✑ Number of questions required to reset: 3
You select the following security questions:
✑ What is your favorite food?
✑ In what city was your first job?
✑ What was the name of your first pet?
Yes/No:
SecAdmin1 must answer the following question during the self-service password reset: In what city was your first job?
BillAdmin1 must answer the following question during the self-service password reset: What is your favorite food?
User1 must answer the following question during the self-service password reset: What was the name of your first pet?
SecAdmin1 must answer the following question during the self-service password reset: In what city was your first job? - No
By default, administrator accounts are enabled for self-service password reset, and a strong default two-gate password reset policy is enforced. This policy may be different from the one you have defined for your users, and this policy can’t be changed.
With a two-gate policy, administrators don’t have the ability to use security questions.
The two-gate policy requires two pieces of authentication data, such as an email address, authenticator app, or a phone number.
BillAdmin1 must answer the following question during the self-service password reset: What is your favorite food? - No
User1 must answer the following question during the self-service password reset: What was the name of your first pet? - Yes
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-sspr-deployment
https://learn.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-policy
You have an Azure subscription that contains the following users in an Azure Active Directory tenant named contoso.onmicrosoft.com:
Name Role Scope
User1 Global administrator Azure Active Directory
User2 Global administrator Azure Active Directory
User3 User administrator Azure Active Directory
User4 Owner Azure Subscription
User1 creates a new Azure Active Directory tenant named external.contoso.onmicrosoft.com. You need to create new user accounts in external.contoso.onmicrosoft.com.
Solution: You instruct User1 to create the user accounts.
Does that meet the goal?
A. Yes
B. No
A. Yes
Only a global administrator can add users to this tenant.
Reference:
https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/add-users-to-azure-ad
You have an existing Azure subscription that contains 10 virtual machines.
You need to monitor the latency between your on-premises network and the virtual machines.
What should you use?
A. Service Map
B. Connection troubleshoot
C. Network Performance Monitor
D. Effective routes
C. Network Performance Monitor
Network Performance Monitor is a cloud-based hybrid network monitoring solution that helps you monitor network performance between various points in your network infrastructure. It also helps you monitor network connectivity to service and application endpoints and monitor the performance of Azure ExpressRoute.
You can monitor network connectivity across cloud deployments and on-premises locations, multiple data centers, and branch offices and
mission-critical multitier applications or microservices. With Performance Monitor, you can detect network issues before users complain.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/network-performance-monitor
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitoring-overview
- Connection Monitor - latency and network issues with IaaS devices over a PERIOD OF TIME
- Connection troubleshoot - latency and network issues with IaaS devices ONE-TIME
- IP Flow - latency and network issues at the VM LEVEL
- Network Performance Monitor - latency and network issues in hybrid, ON-PREM, across environments.
You have an Azure App Service plan named ASP1.
CPU usage for ASP1 is shown in the following exhibit.
???(pic)
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
Hot Area:
The average CPU percentage is calculated [answer choice] per day:
- once, - four times, - six times, - 24 times
ASP1 must be [answer choice] to optimize CPU usage:
- scaled up, - scaled down, - scaled out
The average CPU percentage is calculated [answer choice] per day: four times.
From the exhibit we see that the time granularity is 6 hours: Last 30 days (Automatic - 6 hours). CPU Percentage Last days Automatic - hours
ASP1 must be [answer choice] to optimize CPU usage: scaled up.
This is app plan and VM so you scale up only.
Scale up when:
* You see that your workloads are hitting some performance limit such as CPU or I/O limits.
* You need to quickly react to x performance issues that can’t be solved with classic database optimization.
* You need a solution that allows you to change service tiers to adapt to changing latency requirements.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-troubleshoot https://azure.microsoft.com/en-us/overview/scalingout-vs-scaling-up
You have an Azure Linux virtual machine that is protected by Azure Backup.
One week ago, two files were deleted from the virtual machine.
You need to restore the deleted files to an on-premises Windows Server 2016 computer as quickly as possible.
Which four actions should you perform in sequence?
Download and run the script to mount a drive on the local computer
Select a restore point that contains the deleted files
From the Azure portal, click Restore VM from the vault
From the Azure portal, click File Recovery from the vault
Mount a VHD
Copy the files by using AZCopy
Copy the files by using File Explorer
- From the Azure portal, click File Recovery from the vault
- Select a restore point that contains the deleted files
- Download and run the script to mount a drive on the local computer
Generate and download script to browse and recover les: - Copy the files by using File Explorer
After the disks are attached, use Windows File Explorer to browse the new volumes and files. The restore files functionality provides access to all files in a recovery point. Manage the files via File Explorer as you would for normal files.
(restore As soon as possible. File explorer will be faster than AZCopy to blob storage and next to Windows 2016.)
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-les-from-vm https://docs.microsoft.com/en-us/azure/backup/backupazure-vms-automation#restore-les-from-an-azure-vm-backup
You purchase a new Azure subscription named Subscription1.
You create a virtual machine named VM1 in Subscription1. VM1 is not protected by Azure Backup.
You need to protect VM1 by using Azure Backup. Backups must be created at 01:00 and stored for 30 days.
What should you do?
Location in which to store the backups: …
A blob container
A file share
A Recovery Services vault
A storage account
Object to use to configure the protection for VM1: …
A backup policy
A batch job
A batch schedule
A recovery plan
Location in which to store the backups: A Recovery Services vault.
You can set up a Recovery Services vault and congure backup for multiple Azure VMs.
Object to use to configure the protection for VM1: A backup policy
In Choose backup policy, do one of the following:
✑ Leave the default policy. This backs up the VM once a day at the time specied, and retains backups in the vault for 30 days.
✑ Select an existing backup policy if you have one.
✑ Create a new policy, and dene the policy settings.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-rst-look-arm
You have an Azure virtual machine named VM1.
Azure collects events from VM1.
You are creating an alert rule in Azure Monitor to notify an administrator when an error is logged in the System event log of VM1. Which target resource should you monitor in the alert rule?
A. virtual machine extension
B. virtual machine
C. metric alert
D. Azure Log Analytics workspace
D. Azure Log Analytics workspace
For the first step to create the new alert tule, under the Create Alert section, you are going to select your Log Analytics workspace as the resource, since this is a log based alert signal.
The log data goes to the analytics workspace and it is from there that the alert is triggered.
Reference:
https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/configure-azure-monitor
the Azure Monitor Agent (Not the Log Analytics agent since it will be deprecated by August 2024)
You have an Azure subscription that contains 100 virtual machines.
You regularly create and delete virtual machines.
You need to identify unattached disks that can be deleted.
What should you do?
A. From Azure Cost Management, view Cost Analysis
B. From Azure Advisor, modify the Advisor conguration
C. From Microsoft Azure Storage Explorer, view the Account Management properties
D. From Azure Cost Management, view Advisor Recommendations
D. From Azure Cost Management, view Advisor Recommendations
From Home -> Cost Management + Billing -> Cost Management, scroll down on the options and select View Recommendations.
Azure Cost Management / Advisor - From here you will see the recommendations for your subscription, if you have orphaned disks, they will be listed.
Reference:
https://codeserendipity.com/2020/07/08/microsoft-azure-nd-unattached-disks-that-can-be-deleted-and-other-recommendations/
You have an Azure web app named webapp1.
Users report that they often experience HTTP 500 errors when they connect to webapp1.
You need to provide the developers of webapp1 with real-time access to the connection errors. The solution must provide all the connection error details. What should you do first?
A. From webapp1, enable Web server logging
B. From Azure Monitor, create a workbook
C. From Azure Monitor, create a Service Health alert
D. From webapp1, turn on Application Logging
A. From webapp1, enable Web server logging
Raw HTTP request data is provided by Web server logging and the question mentions 500 error codes.
You need to catch connection error. When the connection fails it happens on web server, not within application. You can do it opening the web application -> Application Service logs -> Web server logging (there are multiple switches there).
You can also see the errors live going to “Log stream” pane.
Web server logging Windows App Service file system or Azure Storage blobs Raw HTTP request data in the W3C extended log file format. Each log message includes data such as the HTTP method, resource URI, client IP, client port, user agent, response code, and so on.
You have an Azure web app named App1.
You need to monitor the availability of App1 by using a multi-step web test. What should you use in Azure Monitor?
A. Azure Service Health
B. Azure Application Insights
C. the Diagnostic settings
D. metrics
B. Azure Application Insights
Upload the web test -
1. In the Application Insights portal on the Availability pane select Add Classic test, then select Multi-step as the SKU.
2. Upload your multi-step web test.
3. Set the test locations, frequency, and alert parameters.
4. Select Create.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/availability-multistep
You have an Azure subscription that has diagnostic logging enabled and is congured to send logs to a Log Analytics workspace.
You are investigating a service outage.
You need to view the event time, the event name, and the affected resources.
How should you complete the query?
… | Where Level == ‘Critical’ … TimeGenerated, OperationNameValue, ResouceId
1. - AzureActivity
- Heartbeat
- NetworkMonitoring
- Perf
2. - extend
- join
- print
- project
AzureActivity | Where Level == ‘Critical’ project TimeGenerated, OperationNameValue, ResouceId
1. - AzureActivity
The AzureActivity table has entries from the Azure activity log, which provides insight into subscription-level or management group-level events occuring in Azure.
Let’s see only Critical entries during a specific week.
The where operator is common in the Kusto Query Language. where filters a table to rows that match specic criteria. The following example uses multiple commands. First, the query retrieves all records for the table. Then, it filters the data for only records that are in the time range. Finally, it filters those results for only records that have a Critical level.
AzureActivity -
| where TimeGenerated > datetime(10-01-2020) and TimeGenerated < datetime(10-07-2020)
| where Level == ‘Critical’
Incorrect:
not Perf: The Perf table has performance data that’s collected from virtual machines that run the Log Analytics agent.
- project
Select a subset of columns: project. Use project to include only the columns you want. Building on the preceding example, let’s limit the output to certain columns:
AzureActivity -
| where TimeGenerated > datetime(10-01-2020) and TimeGenerated < datetime(10-07-2020)
| where Level == ‘Critical’
| project TimeGenerated, Level, OperationNameValue, ResourceGroup, _ResourceId
Reference:
https://github.com/MicrosoftDocs/dataexplorer-docs/blob/main/data-explorer/kusto/query/tutorial.md
- project
You have a Recovery Services vault named RSV1. RSV1 has a backup policy that retains instant snapshots for five days and daily backup for 14 days.
RSV1 performs daily backups of VM1. VM1 hosts a static website that was updated eight days ago.
You need to recover VM1 to a point eight days ago. The solution must minimize downtime. What should you do first?
A. Deallocate VM1.
B. Restore VM1 by using the Replace existing restore conguration option.
C. Delete VM1.
D. Restore VM1 by using the Create new restore conguration option.
B. Restore VM1 by using the Replace existing restore conguration option.
Replace existing:
You can restore a disk, and use it to replace a disk on the existing VM.
The current VM must exist. If it’s been deleted, this option can’t be used. Azure Backup takes a snapshot of the existing VM before replacing the disk, and stores it in the staging location you specify. Existing disks connected to the VM are replaced with the selected restore point.
The snapshot is copied to the vault, and retained in accordance with the retention policy.
After the replace disk operation, the original disk is retained in the resource group. You can choose to manually delete the original disks if they aren’t needed.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-arm-restore-vms
(maybe D. create new)
Replace existing restore configuration: This option restores the backup directly onto the original VM, preserving its network settings and configurations.
Create new restore configuration: This option creates a new VM from the backup, requiring additional steps to update network settings, DNS, and other configurations to resume production service.
You have an Azure subscription that contains the resources shown in the following table.
Name Туре
VM1 Virtual machine
storage1 Storage account
Workspace1 Log Analytics workspace
DB1 Azure SQL database
You plan to create a data collection rule named DCR1 in Azure Monitor.
Which resources can you set as data sources in DCR1, and which resources can you set as destinations in DCR1?
Data sources: …
- VM1 only
- VM1 and storage1 only
- VM1, storage1, and DB1 only
- VM1, storage1, Workspace1, and DB1
Destinations: …
- storage1 only
- Workspace1 only
- Workspace1 and storage1 only
- Workspace1, storage1, and DB1 only1
Data sources: - VM1 only
it uses Azure monitor agent which needs to be installed on a VM.
A virtual machine may have an association to multiple DCRs, and a DCR may have multiple virtual machines associated to it.
In the Resources tab, add the resources (virtual machines, virtual machine scale sets, Arc for servers) that should have the Data Collection Rule applied.
Destinations: - Workspace1 only
Data then gets sent to Workspace.
On the Destination tab, add one or more destinations for the data source. You can select multiple destinations of same of different types, for instance multiple Log Analytics workspaces (i.e. “multi-homing”).
Note: The Data Collection Rules (or DCR) improve on a few key areas of data collection from VMs including like better control and scoping of data collection (e.g. collect from a subset of VMs for a single workspace), collect once and send to both Log Analytics and Azure Monitor Metrics, send to multiple workspaces (multi- homing for Linux), improved Windows event ltering, and improved extension management.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-rule-azure-monitor-agent
https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview