Computer Science > EXAM > AZ 104 Exam: Contains 152 Questions & Answers and Explanations (All)

AZ 104 Exam: Contains 152 Questions & Answers and Explanations

Document Content and Description Below

AZ 104 Exam: 152 Questions & Answers 1. You need to define a custom domain name for Azure AD to support theplanned infrastructure.Which domain name should you use? A. ad.humongousinsurance.com B. ... humongousinsurance.onmicrosoft.com C. humongousinsurance.local D. humongousinsurance.com: Answer: D Every Azure AD directory comes with an initial domain name in the form of domainname.onmicrosoft.com. The initial domain name cannot be changed of deleted, but you can add your corporate domain name to AAD as well. Adding custom domain names to Azure AD allows you to assign user names in the directory that are familiar to your users,such as '[email protected].' instead of 'alice@domain name.onmicrosoft.com'. 2. You need to prepare the environment to meet the authentication require-ments. Which two actions should you perform? Each correct answer pre- sents part of the solution. NOTE: Each correct selection is worth one point. A. Allow inboundTCP port 8080 to the domain controllers in the Miami office. B. Add http://autogon.microsoftazuread-sso.com to the intranet zone of eachclient computer in the Miami office. C. Join the client computers in the Miami office to Azure AD. D. Install the Active Directory Federation Services (AD FS) role on a domain controller in the2 / 68 Miami Questions & Answers PDF P-16 www.dumpskey.comoffice. E. Install Azure AD Connect on a server in the Miami office and enablePass-through Authentication.: Answer: BE B:You can gradually roll out Seamless SSO to your users.You start by adding thefollowing Azure AD URL to all or selected users' Intranet zone settings by using Group Policy in Active Directory: https://autologon.microsoftazuread-sso.com E: Seamless SSO works with any method of cloud authentication - Password Hash Synchronization or Pass-through Authentication, and can be enabled via Azure ADConnect. 3. Scenario: Licensing Issue 1.You attempt to assign a license in Azure to several users and receive the following error message: "Licenses not assigned. License agreement failedfor one user." 2.You verify that the Azure subscription has the available licenses. You need to resolve the licensing issue before you attempt to assign thelicense again.What should you do? A. From the Groups blade, invite the user accounts to a new group. B. From the Profile blade, modify the usage location. C. From the Directory role blade, modify the directory role.: Answer: B Explanation: Some Microsoft services aren't available in all locations because of local laws and regulations. Before you can assign a license to a user, you must specify the Usage location property for the user.You can specify the location underthe User > Profile > Settings section in the Azure portal. 4. You have an azure subscription named Subscription that contains theresource groups shown in the following table.3 / 68 RG1 - East Asia RG2 - East US In RG1, you create a virtual machine named VM1 in the East Asia location. You plan to create a virtual network named VNET1.You need to create VNET,and then connect VM1 to VNET1. What are two possible ways to achieve this goal? Each correct answer presents a complete a solution. NOTE: Eachcorrect selection is worth one point. A. Create VNET1 in RG2, and then set East Asia as the location. B. Create VNET1 in a new resource group in the West US location, and thenset West US as the location. C. Create VNET1 in RG1, and then set East Asia as the location D. Create VNET1 in RG1, and then set East US as the location. E. Create VNET1 in RG2, and then set East US as the location.: Answer: AC A network interface can exist in the same, or different resource group, than the virtual machine you attach it to, or the virtual network you connect it to.The virtualmachine you attach a network interface to and the virtual network you connect it tomust exist in the same location, also referred to as a region. Note, Resource groups can span multiple Regions, but VNets only can hold resources (VMs, Network Adapters) that exists in the same region. So in this scenario, you need to createVNET1 in any RG and set location as East Asia. 5. You have an Azure subscription that contains a storage account named account1. You plan to upload the disk files of a virtual machine to account1from your on-premises network. The onpremises network uses a public IP address space of 131.107.1.0/24.You plan to use the disk files to provision anAzure virtual machine named VM1.VM1 will be attached to a virtual network named VNet1. VNet1 uses an IP address space of 192.168.0.0/24. You need to configure account1 to meet the following requirements: Ensure that you can upload the disk files to4 / 68 account1. Ensure that you can attach the disks to VM1. Prevent all other access to account1. Which two actions should youperform? Each correct selection presents part of the solution. NOTE: Each correct selection is worth one point. A. From the Firewalls and virtual networks blade of account1, add the131.107.1.0/24 IP address range. B. From the Firewalls and virtual networks blade of account1,select Selectednetworks. C. From the Firewalls and virtual networks blade of acount1, add VNet1. D. From the Firewalls and virtual networks blade of account1, select Allowtrusted Microsoft services to access this storage account. E. From the Service endpoints blade of VNet1, add a service endpoint.: An-swer: AB By default, storage accounts accept connections from clients on any network. To limit access to selected networks, you must first change the default action. Azureportal 1. Navigate to the storage account you want to secure.2.Click on the settings menucalled Firewalls and virtual networks. 3. To deny access by default, choose to allow access from 'Selected networks'.Toallow traffic from all networks, choose to allow access from 'All networks'. 4. Click Save to apply your changes. Grant access from a Virtual Network Storageaccounts can be configured to allow access only from specific Azure Virtual Networks. By enabling a Service Endpoint for Azure Storage within the Virtual Network, traffic is ensured an optimal route to the Azure Storage service. The identities of the virtual network and the subnet are also transmitted with each request. 6. You have an Azure Active Directory (Azure AD) tenant named contosocloud.onmicrosoft.com. Your company has a public DNS zone for con- toso.com.You add contoso.com as a custom domain name to Azure AD.Youneed to ensure that Azure can verify the domain name. Which type of DNS record should you create?5 / 68 A. PTR B. MX C. NSEC3 D. RRSIG: Answer: B TXT or MX : Correct You can use either a TXT or MX record to verify the customdomain in the Azure AD. MX records can serve the purpose of TXT records Questions & Answers PDF P-56 www.dumpskey.com SRV : Incorrect SRV records are used by various services to specify serverlocations. When specifying an SRV record in Azure DNS DNSKEY : Incorrect Choice This will verify that the records are originating from anauthorized sender. NSEC : Incorrect Choice This is Part of DNSSEC.This is usedfor explicit denial-of-existence of a DNS record. It is used to prove a name does not exist. 7. 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. You need to specify which resource type to monitor. What should you specify? A. metric alert B. Azure Log Analytics workspace C. virtual machine D. virtual machine extension: Answer: B Explanation: Azure Monitor can collect data directly from your Azure virtual ma-chines into a Log Analytics workspace for analysis of details and correlations. Installing the Log Analytics VM extension for Windows and Linux allows AzureMonitor to collect data from your Azure VMs. Azure Log Analytics workspace isalso used for on-premises computers monitored by System Center OperationsManager.6 / 68 8. You have two Azure virtual machines named VM1 and VM2. You have twoRecovery Services vaults named RSV1 and RSV2.VM2 is protected by RSV1. You need to use RSV2 to protect VM2.What should you do first? A. From the RSV1 blade, click Backup items and stop the VM2 backup. B. From the RSV1 blade, click Backup Jobs and export the VM2 backup. C. From the RSV1 blade, click Backup. From the Backup blade, select thebackup for the virtual machine, and then click Backup. D. From theVM2 blade,click Disaster recovery,click Replication settings,andthen select RSV2 as the Recovery Services vault: Answer: D The Azure Site Recovery service contributes to your disaster recovery strategy by managing and orchestrating replication, failover, and failback of on-premisesmachines and Azure virtual machines (VMs). 9. You have an Azure subscription that contains a web app named webapp1.You need to add a custom domain named www.contoso.com to webapp1. What should you do first? A. Upload a certificate. B. Add a connection string. C. Stop webapp1. D. Create a DNS record.: Answer: B 10. You create an App Service plan named App1 and an Azure web app named webapp1. You discover that the option to create a staging slot is unavailable.You need to create a staging slot for App1.What should you dofirst? A. From webapp1, modify the Application settings. B. From webapp1, add a custom domain.7 / 68 C. From App1, scale up the App Service plan. D. From App1, scale out the App Service plan.: Answer: C Scale up: Get more CPU, memory, disk space, and extra features like dedicatedvirtual machines (VMs), custom domains and certificates, staging slots, autoscal-ing, and more. You scale up by changing the pricing tier of the App Service plan that your app belongs to. 11. You download an Azure Resource Manager template based on an ex- isting virtual machine. The template will be used to deploy 100 virtual machines.You need to modify the template to reference an administrativepassword.You must prevent the password from being stored in plain text. What should you create to store the password? Questions & Answers PDFP-73 www.dumpskey.com A. Azure Active Directory (AD) Identity Protection and an Azure policy B. a Recovery Services vault and a backup policy C. an Azure Key Vault and an access policy D. an Azure Storage account and an access policy: Answer: C Explanation: You can use a template that allows you to deploy a simple WindowsVM by retrieving the password that is stored in a KeyVault.Therefore the passwordis never put in plain text in the template parameter file 12. You plan to use the Azure Import/Export service to copy files to a storageaccount.Which two files should you create before you prepare the drives forthe import job? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. an XML manifest file B. a driveset CSV file C. a dataset CSV file D. a PowerShell PS1 file8 / 68 E. a JSON configuration file: Answer: BC Explanation: B: Modify the driveset.csv file in the root folder where the tool resides. C: Modify the dataset.csv file in the root folder where the tool resides. Depending on whether you want to import a file or folder or both, add entries in the dataset.csvfile 13. You have an Azure subscription named Subscription1. You have 5 TB ofdata that you need to transfer to Subscription1. You plan to use an Azure Import/Export job.What can you use as the destination of the imported data? A. Azure Data Lake Store B. a virtual machine C. the Azure File Sync Storage Sync Service D. Azure Blob storage: Answer: D Explanation: Azure Import/Export service is used to securely import large amounts of data to Azure Blob storage and Azure Files by shipping disk drives to an Azuredatacenter. The maximum size of an Azure Files Resource of a file share is 5 TB. 14. You have an Azure subscription that contains the following resources: 100 Azure virtual machines 20 Azure SQL databases 50 Azure file sharesYouneed to create a daily backup of all the resources by using Azure Backup. What is the minimum number of backup policies that you must create? A. 1 B. 2 C. 3 D. 150 E. 170: Answer: C Explanation:There is a limit of 100VMs that can be associated to the same backuppolicy from portal.9 / 68 We recommend that for more than 100 VMs, create multiple backup policies with same schedule or different schedule.One policy for VMS, onefor SQL databases, and one for the file shares. 15. You have an Azure virtual machine namedVM1.You use Azure Backup tocreate a backup of VM1 named Backup1.After creating Backup1,you performthe 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 ad- ministrator account. Questions & Answers PDF P-110 www.dumpskey.comAdd a data disk toVM1. An administrator uses the Replace existing option torestore 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. Add a data disk. C. Reset the password for the built-in administrator account. D. Copy Budget.xls to Data.: Answer: D The scenario mentioned in the question, we are using the replace option. So in thiscase we would lose the existing data written to the disk after the backup was taken. The file was copied to the disk after the backup was taken. Hence, we would needto copy the file once again. 16. You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com.You plan to grant three users named User1,User2, and User3 access to a temporary Microsoft SharePoint document library named Library1.You need to create groups for the users. The solutionmust ensure that the groups are deleted automatically after 180 days.Whichtwo groups should you create? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. A. a Security group that uses the Assigned membership type B. an Office 365 group that uses the Assigned membership type10 / 68 C. an Office 365 group that uses the Dynamic User membership type D. aSecurity group that uses the Dynamic User membership type E. a Security group that uses the Dynamic Device membership type: Answer: BC Explanation:You can set expiration policy only for Office 365 groups in Azure ActiveDirectory (Azure AD). Note: With the increase in usage of Office 365 Groups, administrators and users need a way to clean up unused groups.Expiration policiescan help remove inactive groups from the system and make things cleaner.When agroup expires, all of its associated services (the mailbox, Planner, SharePoint site, etc.) are also deleted. You can set up a rule for dynamic membership on security groups or Office 365 groups. Incorrect Answers: A, D, E: You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure AD). 17. You have an Azure Active Directory (Azure AD) tenant named con- toso.com.Multi-factor authentication (MFA) is enabled for all users.You needto provide users with the ability to bypass MFA for 10 days on devices to which they have successfully signed in by using MFA.What should you do? A. From the multi-factor authentication page, configure the users' settings. B. From Azure AD, create a conditional access policy. C. From the multi-factor authentication page, configure the service settings. D. From the MFA blade in Azure AD, configure the MFA Server settings: An-swer: C Explanation: Enable remember Multi-Factor Authentication Sign in to the Azure portal. On the left, select Azure Active Directory > Users. Select Multi-Factor Authentication. Under Multi-Factor Authentication, select service settings. On theService Settings page, manage remember multi-factor authentication, select theAllow users to remember multi-factor authentication on devices they trust option.Set the number of days to allow trusted devices to bypass two-step verification. The default is 14 days. Select Save. 18. You have an Azure virtual machine namedVM1 that runsWindows Server2019. You sign in to VM1 as a user named User 1 and perform the following actions: * Create files on drive C. *11 / 68 Create files on drive 0. * Modify the screensaver timeout. * Change the desktop background.You plan to redeploy VM1.Which changes will be lost after you redeploy VM1? A. the modified screen saver timeout B. the new desktop background C. the new files on drive D.The new files on drive C: Answer: D 19. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to returnto it. As a result, these questions will not appear in the review screen. You have an Azure subscription that contains the following resources: A virtual network that has a subnet named Subnet1 Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1 A virtual machine namedVM1 that has the required Windows Server configurations to allow Remote Desktop connections NSG-Subnet1 has the default inbound security rules only. NSG-VM1 has the default inbound security rules and the following custom inbound security rule: Priority: 100 Source: Any Source port range: * Destination: * Destination port range: 3389 Protocol: UDP Action: Allow VM1connects to Subnet1. NSG1-VM1 is associated to the network interface of VM1.NSG-Subnet1 is associated to Subnet1.You need to be able to establishRemote Desktop connections from the internet to VM1. Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the Internet source to the VirtualNetwork destination for port range 3389 and uses the UDP protocol. Does this meet the goal? A.Yes B. No: Answer: B The default port for RDP is TCP port 3389 not UDP. NSGs deny all inbound trafficexcept from virtual network or load balancers.For inbound traffic, Azure processesthe rules in a network security group12 / 68 associated to a subnet first, and then the rulesin a network security group associated to the network interface. By default NSG rule to allow traffic through RDP port 3389 is not created automatically during thecreation of VM , unless you change the setting during creation.Here in the solutionUDP traffic is allowed at virtual network level which is not tcp/rdp protocol. So thiswill not work to achieve the goal. 20. You have an Azure subscription that contains an Azure Active Directory(Azure AD) tenant named adatum.com. The tenant contains 500 user ac- counts.You deploy Microsoft Office 365. You configure Office 365 to use theuser accounts in adatum.com.You configure 60 users to connect to mailbox-es in Microsoft Exchange Online.You need to ensure that the 60 users use Azure Multi-Factor Authentication (MFA) to connect to the Exchange Online mailboxes. The solution must only affect connections to the Exchange Onlinemailboxes.What should you do? A. From the multi-factor authentication page, configure the Multi-Factor Authstatus for each user B. From Azure Active Directory admin center, create a conditional accesspolicy C. From the multi-factor authentication page, modify the verification options D. From the Azure Active Directory admin center,configure an authenticationmethod: Answer: A 21. You have an Azure subscription that contains an Azure Active Directory(Azure AD) tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1. An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com. You need to ensure thataccess to AKS1 can be granted to the contoso.com users.What should youdo first? A. From contoso.com, modify the Organization relationships settings. B. From contoso.com, create an OAuth 2.0 authorization endpoint. C. Recreate AKS1. D. From AKS1, create a namespace.: Answer: B13 / 68 With Azure AD-integrated AKS clusters, you can grant users or groups accessto Kubernetes resources within a namespace or across the cluster.To obtain a kubectl configuration context, a user can run the az aks get-credentials command.When a user then interacts with the AKS cluster with kubectl, they're prompted tosign in with their Azure AD credentials.This approach provides a single source foruser account management and password credentials. The user can only access the resources as defined by the cluster administrator. Azure AD authentication is provided to AKS clusters with OpenID Connect.OpenID Connect is an identity layer built on top of the OAuth 2.0 protocol. For more information on OpenID Connect, see the Open ID connect documentation. From inside of the Kubernetes cluster, Webhook Token Authentication is used to verify authentication tokens. Webhook token authentication is configured and managed as part of the AKS cluster 22. You have an Azure subscription named Subscription1 that contains anAzure Log Analytics workspace named Workspace1. You need to view theerror events from a table named Event. Which query should you run in Workspace1? A. Event | where EventType is "error" B. Event | search "error" C. select * from Event where EventType == "error" D. Get-Event Event | where {$_.EventType -eq "error"}: Answer: B To search a term in a specific table, add in (table-name) just after the searchoperator 23. You have an Azure virtual machine namedVM1 that runsWindows Server2019. You save VM1 as a template named Template1 to the Azure Resource Manager library. You plan to deploy a virtual machine named VM2 from Template1.What can you configure during the deployment of VM2? A. virtual machine size B. operating system C. administrator username14 / 68 D. resource group: Answer: D Explanation:When deploying a virtual machine from a template, you must specify:the Resource Group name and location for the VM the administrator username and password an unique DNS name for the public IP 24. Note:This question is part of a series of questions that present the samescenario. Each question in the series contains a unique solution that mightmeet the stated goals. Some question sets might have more than one correctsolution, while others might not have a correct solution. After you answer aquestion in this section,you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure virtual machine named VM1 that runs Windows Server 2016.You need to create an alert in Azure when more than two error events are logged to the System log on VM1 within an hour. Solution: You create an Azure Log Analytics workspace and configure the data settings.You add an extension toVM1.Youcreate an alert in Azure Monitor and specify the Log Analytics workspace asthe source. Does this meet the goal? A.Yes B. No: Answer: B Explanation: Instead: You create an Azure Log Analytics workspace and configure the data settings. You install the Microsoft Monitoring Agent on VM1. You create analert in Azure Monitor and specify the Log Analytics workspace as the source 25. You have an Azure Active Directory (Azure AD) domain that contains 5,000 user accounts. You create a new user account named AdminUser1.Youneed to assign the User administrator administrative role to AdminUser1. What should you do from the user account properties? A. From the Directory role blade, modify the directory role. B. From the Groups blade, invite the user account to a new group. C. From the Licenses blade, assign a new license.: Answer: A Explanation: Assign a role to a user Sign in to the Azure portal with an account that's a global admin or privileged role admin for the directory. Select Azure ActiveDirectory, select Users, and then select a15 / 68 specific user from the list.For the selecteduser, select Directory role, select Add role, and then pick the appropriate admin roles from the Directory roles list, such as Conditional access administrator. Press Select to save. 26. You have an Azure Active Directory (Azure AD) tenant named contoso.on-microsoft.com that contains 100 user accounts. You purchase 10 Azure ADPremium P2 licenses for the tenant. You need to ensure that 10 users can use all the Azure AD Premium features.What should you do? A. From the Groups blade of each user, invite the users to a group. B. From the Licenses blade of Azure AD, assign a license. C. From the Directory role blade of each user, modify the directory role. D. From the Azure AD domain, add an enterprise application.: Answer: B Many Azure Active Directory (Azure AD) services require you to license each of your users or groups (and associated members) for that service. Only users withactive licenses will be able to access and use the licensed Azure AD services for which that's true. Licenses are applied per tenant and do not transfer to other tenants.Not all Microsoft services are available in all locations.Before a license canbe assigned to a group, you must specify the Usage location for all members.Youcan set this value in the Azure Active Directory > Users > Profile > Settings area in Azure AD. Any user whose usage location is not specified inherits the locationof the Azure AD organization. You can add the licensing rights to users or to an entire group. 27. You have an Azure subscription named Subscription 1 and an on-premis-es deployment of Microsoft System Center Service Manager Subscription! contains a virtual machine named VM1.You need to ensure that an alert is setin Service Manager when the amount of available memory on VM1 is below 10 percent.What should you do first? A. Create a notification. B. Create an automation runbook. C. Deploy the IT Service Management Connector (ITSM).16 / 68 D. Deploy a function app.: Answer: C Explanation: The IT Service Management Connector (ITSMC) allows you to con-nect Azure and a supported IT Service Management (ITSM) product/service, suchas the Microsoft System Center Service Manager. With ITSMC, you can create work items in ITSM tool, based on your Azure alerts (metric alerts, Activity Log alerts and Log Analytics alerts). 28. You have an on-premises server that contains a folder named D:\Folder1.You need to copy the contents of D:\Folder1 to the public container in an Azure Storage account named contoso data. Which command should you run? A. https://contosodata.blob.core.windows.net/public B. azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --snapshot C. azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --recursive D. az storage blob copy start-batch D:\Folder1 https:// contosodata.blob.core.windows.net/public: Answer: C Explanation: The azcopy copy command copies a directory (and all of the files in that directory)to a blob container. The result is a directory in the container by the same name. Incorrect Answers: B: The azcopy sync command replicates the source location to the destination location. However, the file is skipped if the last modified time inthe destination is more recent. D: The az storage blob copy start-batch commandcopies multiple blobs to a blob container. 29. You have an Azure Storage account named storage1. You plan to use AzCopy to copy data to storage1.You need to identify the storage servicesin storage1 to which you can copy the data. What should you identify? A. blob, file, table, and queue B. blob and file only17 / 68 C. file and table only D. file only E. blob, table, and queue only: Answer: B Explanation: AzCopy is a command-line utility that you can use to copy blobs or files to or from a storage account. Incorrect Answers: A, C, E: AzCopy doesnot support table and queue storage services. D: AzCopy supports file storageservices, as well as blob storage services. 30. You have an Azure subscription that contains an Azure Storage account.You plan to create an Azure container instance named container1 that will use a Docker image namedImage1. Image1 contains a Microsoft SQL Serverinstance that requires persistent storage. You need to configure a storage service for Container1.What should you use? A. Azure Files B. Azure Blob storage C. Azure Queue storage D. Azure Table storage: Answer: A Explanation: Microsoft have Docker Volume Plugin for Azure file storage which provides exactlythis and it is used for Azure file shares. Azure File Storage volume plugin is not limited to ease of container migration. It also allows a file share to be shared among multiple containers (even though they are on different hosts) to collaborateon workloads, share configuration or secrets of an application running on multiple hosts. Another use case is uploading metrics and diagnostics data such as logs from applications to a file share for further processing. 31. You have an app named App1 that runs on two Azure virtual machines named VM1 and VM2. You plan to implement an Azure Availability Set for App1.The solution must ensure that App1 is available during planned main-tenance of the hardware hosting VM1 and VM2. What should you include inthe Availability Set?18 / 68 A. one update domain B. two fault domains C. one fault domain D. two update domains: Answer: D Explanation: Microsoft updates, which Microsoft refers to as planned maintenance events, sometimes require that VMs be rebooted to complete the update. To reducethe impact on VMs, the Azure fabric is divided into update domains to ensure thatnot all VMs are rebooted at the same time. Incorrect Answers: A: An update domain is a group of VMs and underlying physical hardware that can be rebooted at the same time. B, C: A fault domain shares common storage as well as a common power source and network switch. It is used to protect against unplanned systemfailure. 32. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription named Subscription1. Subscription1 contains a resource groupnamed RG1.RG1 contains resources that were deployed by using templates.You need to view the date and time when the resources were created in RG1. Solution: From the RG1 blade, you click Automation script. Does this meet the goal? A.Yes B. No: Answer: B Explanation: From the RG1 blade, click Deployments.Yousee a history of deployment for the resource group. Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/tem- plates/templatetutorialcreate-first-template?tabs=azure-powershell Through ac- tivity logs, you can determine: § what operations were taken on the resources in your subscription § who started the operation § when19 / 68 the operation occurred § thestatus of the operation § the values of other properties that might help you researchthe operation 1. On the Azure portal menu, select Monitor, or search for and select Monitor fromany page 2. Select Activity Log. 3.You see a summary of recent operations. A default set of filters is applied to the operations. Notice the information on the summary includes who started the actionand when it happened 33. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result,these questions will not appear in the review screen.You have an Azure subscription named Subscription1.Subscription1 contains a resource groupnamed RG1.RG1 contains resources that were deployed by using templates.You need to view the date and time when the resources were created in RG1.Solution: From the RG1 blade, you click Deployments. Does this meet the goal? A.Yes B. No: Answer: A Explanation: 1. Select the resource group (Here RG1) you want to examine. 2. Select the link under Deployments. 3. Select one of the deployments from the deployment history. 4.You will see a history of deployment for the resource group, including thecorrelation ID. 34. You have an Azure subscription named Subscription1. You deploy a Linux virtual machine named VM1 to Subscription1.You need to monitor themetrics and the logs of VM1.What should you use? A. Linux Diagnostic Extension (LAD) 3.020 / 68 B. Azure Analysis Services C. the AzurePerformanceDiagnostics extension D. Azure HDInsight: Answer: A You can use extensions to configure diagnostics on your VMs to collect additionalmetric data. The basic host metrics are available, but to see more granular and VM-specific metrics, you need to install the Azure diagnostics extension on the VM.The Azure diagnostics extension allows additional monitoring and diagnosticsdata to be retrieved from the VM. 35. You plan to deploy three Azure virtual machines named VM1,VM2, andVM3. The virtual machines will host a web app named App1. You need to ensure that at least two virtual machines are available if a single Azure datacenter becomes unavailable.What should you deploy? A. all three virtual machines in a single Availability Zone B. all virtual machines in a single Availability Set C. each virtual machine in a separate Availability Zone D. each virtual machine in a separate Availability Set: Answer: B Explanation: Availability sets are a datacenter configuration to provide VM redundancy and availability. This configuration within a datacenter ensures that during either a planned or unplanned maintenance event, at least one virtual machine isavailable. 36. You have an Azure subscription that contains an Azure virtual machinenamed VM1. VM1 runs a financial reporting app named App1 that does not support multiple active instances. At the end of each month, CPU usage for VM1 peaks when App1 runs.You need to create a scheduled runbook toincrease the processor performance of VM1 at the end of each month. Whattask should you include in the runbook? A. Add the Azure Performance Diagnostics agent to VM1.21 / 68 B. Modify the VM size property of VM1. C. Add VM1 to a scale set. D. Increase the vCPU quota for the subscription. E. Add a Desired State Configuration (DSC) extension to VM1.: Answer: B If you have a CPU/performance issue then the solution is to scale up (increase VM size) or to scale out (scale set) given that the App does not support multipleinstances then scale up is the obvious choice. 37. You recently created a new Azure subscription that contains a user named Admin1. Admin1 attempts to deploy an Azure Marketplace re- source by using an Azure Resource Manager template. Admin1 deploys the template by using Azure PowerShell and receives the following er- ror message: "User failed validation to purchase resources. Error mes- sage: "Legal terms have not been accepted for this item on this subscrip-tion. To accept legal terms, please go to the Azure portal (http://go.mi- crosoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time."You need toensure that Admin1 can deploy the Marketplace resource successfully.Whatshould you do? A. From Azure PowerShell, run the Set-AzApiManagementSubscriptioncmdlet B. From the Azure portal, register the Microsoft.Marketplace resourceprovider C. From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet D. Fromthe Azure portal, assign the Billing administrator role to Admin1: Answer: C The Set-AzMarketplaceTerms cmdlet saves the terms object for given publisherid(Publisher), offer id(Product) and plan id(Name) tuple. 38. You have an Azure virtual machine namedVM1 that runsWindows Server2019. You sign in to VM1 as a user named User 1 and perform the following actions: * Create files on drive C. * Create files on drive D.22 / 68 * Modify the screen saver timeout. * Change the desktop background. You plan to redeploy VM1.Which changes will be lost after you redeployVM1? A. the modified screen saver timeout B. the new desktop background C. the new files on drive D D.The new files on drive C: Answer: C As D drive is temporary storage so new files on D drive will be lost. The screen-saver, wall paper, new files on C drive are available after Redeploy. 39. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than onecorrect solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription that contains 10 virtual networks. The virtual networks are hosted in separate resource groups. Another administrator plans to create several network security groups (NSGs) in the subscription.You needto ensure that when an NSG is created, it automatically blocksTCP port 8080between the virtual networks. Solution: From the Resource providers blade,you unregister the Microsoft.ClassicNetwork provider. Does this meet the goal? A.Yes B. No: Answer: B Explanation: You should use a policy definition. 40. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that23 / 68 might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. Afteryou answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription that contains 10 virtual networks. The virtual networks are hosted in separate resource groups. Another administrator plans to create several network security groups (NSGs) in the subscription.You need to ensure that when an NSG is created, it automatically blocksTCP port 8080 between the virtual networks. Solution: You configure a custom policy definition, and then you assign the policy to the subscription. Does this meet the goal? A.Yes B. No: Answer: A Explanation: Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when the policy is enforced and what effect to take. By defining conventions, you can controlcosts and more easily manage your resources. 41. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than onecorrect solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription that contains 10 virtual networks. The virtual networks are hosted in separate resource groups. Another administrator plans to create several network security groups (NSGs) in the subscription.You needto ensure that when an NSG is created, it automatically blocksTCP port 8080between the virtual networks. Solution:You create a resource lock, and thenyou assign the lock to the subscription. Does this meet the goal? A.Yes24 / 68 B. No: Answer: B Explanation: How can I freeze or lock my production/critical Azure resources fromaccidental deletion? There is way to do this with both ASM and ARM resources using Azure resource lock. 42. Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than onecorrect solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure subscription that contains 10 virtual networks. The virtual networks are hosted in separate resource groups. Another administrator plans to create several network security groups (NSGs) in the subscription.You needto ensure that when an NSG is created, it automatically blocksTCP port 8080between the virtual networks. Solution:You assign a built-in policy definitionto the subscription. Does this meet the goal? A.Yes B. No: Answer: B Explanation: Resource policy definition used by Azure Policy enables you to establish conventions for resources in your organization by describing when thepolicy is enforced and what effect to take. However, there are no built-in policy definitions.Though there are sample policy defintions. 43. You have two Azure virtual networks named VNet1 and VNet2. VNet1 contains an Azure virtual machine named VM1. VNet2 contains an Azure virtual machine namedVM2.VM1 hosts a frontend application that connectsto VM2 to retrieve data. Users report that the frontend application is slower than usual.You need to view the average round-trip time (RTT) of the packetsfrom VM1 to VM2.Which Azure Network Watcher feature should you use? A. NSG flow logs B. Connection troubleshoot C. IP flow verify D. Connection monitor: Answer: D [Show More]

Last updated: 1 year ago

Preview 1 out of 106 pages

Reviews( 0 )

$9.00

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

GET ASSIGNMENT HELP
85
0

Document information


Connected school, study & course


About the document


Uploaded On

Aug 04, 2022

Number of pages

106

Written in

Seller


seller-icon
QuizMaster

Member since 4 years

1086 Documents Sold


Additional information

This document has been written for:

Uploaded

Aug 04, 2022

Downloads

 0

Views

 85

Document Keyword Tags

Recommended For You

What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·