Practice Test 1 Flashcards
View Case Study - https://rb.gy/5e9wyy
You are planning the move of photon-app to Azure. You create a network security group (NSG). You need to recommend a solution to provide users with access to photon-app. What should you recommend?
Create an incoming security rule for port 443 from the internet. Associate the Network Security Group tothe subnet that contains the web servers.
Your company has an on-premises file server named demoserver that runs Windows Server 2016. Your company also has an Azure subscription that contains an Azure file share. You have to deploy an Azure File Sync Storage Sync Service, so you go ahead and create a sync group. You now need to synchronize files from demoserver to Azure. Which of the following actions would you need to perform for this purpose?
Choose 3 answers from the options given below.
- Install the Azure File Sync agent on the demo server
- Register demo server
- Add a server endpoint
Your company has an Azure subscription that is used by multiple departments in your company. The subscription contains around 5 resource groups. Each department uses resources in several resource groups. Your supervisor has requested to send a report that details the costs for each department. Which of the following actions would you need to perform for this purpose?
Choose 3 answers from the options given below.
- Download the usage report
- Assign a tag to each resource
- From the Costs Analysis blade, filter the view by tag
You have an Azure Active Directory (Azure AD) tenant that has the initial domain name.
You have a domain name of photon.com registered at a third-party registrar. You need to ensure that you can create Azure AD users that have names containing a suffix of @photon.com.
Which of the following would need to be implemented to fulfil this requirement?
Choose 3 answers from the options given below
- Add a custom domain name
- Add a record to the public photon.com DNS zone
- Verify the domain
A company currently has an Azure account and subscription. They want to host an application using Virtual Machines and a load balancer. There is a requirement to ensure that the application is made available 99.99% of the time. Which of the following would need to be in place? You also have to minimize costs associated with the solution.
Choose 2 answers from the options given below
- Create a Standard Load balancer
- Add 2 Virtual Machines to the backend pool
A company has setup a Load balancer that load balances traffic on port 80 and 443 across 3 virtual machines.
You have to ensure that all RDP traffic is directed towards a VM named demovm. How would you achieve this?
By creating an inbound NAT rule
A company has setup a Load balancer that load balances traffic on port 80 and 443 across 3 virtual machines. You have to ensure that all clients are serviced by the same web server for each request.
Which of the following would you configure for this requirement?
Session Persistence
A company has started using Azure and setup a subscription. They want to see the costs being incurred for each type of resource. Which of the following can help you get these details?
Go to your subscription and go to Cost Analysis
Your company currently has a Virtual Network defined in Azure. The Virtual Network has a default subnet that contains 2 Virtual machines named demo vm and demo vm1. There is a requirement to inspect all network traffic between the Virtual Machines for a duration of 3 hours.
You propose a solution to create a Data Collector set.
Does this solution fulfil the requirement?
No
The right solution is to use Network watcher.
A data collector set if used to collect data for Performance counters.
Your company currently has a Virtual Network defined in Azure. The Virtual Network has a default subnet that contains 2 Virtual machines named demovm and demovm1. There is a requirement to inspect all network traffic between the Virtual Machines for a duration of 3 hours.
You propose a solution to run Packet Capture on Azure Network watcher
Does this solution fulfil the requirement?
Yes
Network Watcher variable packet capture allows you to create packet capture sessions to track traffic to and from a virtual machine. Packet capture helps to diagnose network anomalies both reactively and proactivity. Other uses include gathering network statistics, gaining information on network intrusions, to debug client-server communications and much more.
Your company currently has a Virtual Network defined in Azure. The Virtual Network has a default subnet that contains 2 Virtual machines named demovm and demovm1. There is a requirement to inspect all network traffic between the Virtual Machines for a duration of 3 hours.
You propose a solution to create a metric chart for Network In and Network Out
Does this solution fulfil the requirement?
No
This is used to just see the number of packets coming into and out of the Virtual machine but will not do a detailed packet inspection.
You are the Azure administrator for a company. You have to create a custom role based on the Virtual Machine Reader role. You have to complete the following powershell script
$role = SLOT1 “Virtual Machine Contributor”
$role.Id = $null $role.Name = “Virtual Machine Operator”
$role.Description = “Can monitor and restart virtual machines.”
$role.Actions.Clear() $role.Actions.Add(“Microsoft.Storage/*/read”)
$role.Actions.Add(“Microsoft.Network/*/read”)
$role.Actions.Add(“Microsoft.Compute/*/read”)
$role.Actions.Add(“Microsoft.Compute/virtualMachines/start/action”)
$role.Actions.Add(“Microsoft.Compute/virtualMachines/restart/action”)
$role.Actions.Add(“Microsoft.Authorization/*/read”)
$role.Actions.Add(“Microsoft.ResourceHealth/availabilityStatuses/read”)
$role.Actions.Add(“Microsoft.Resources/subscriptions/resourceGroups/read”)
$role.Actions.Add(“Microsoft.Insights/alertRules/*”)
$role.Actions.Add(“Microsoft.Support/*”)
$role.AssignableScopes.Clear()
$role.AssignableScopes.Add(“/subscriptions/00000000-0000-0000-0000-000000000000”)
$role.AssignableScopes.Add(“/subscriptions/11111111-1111-1111-1111-111111111111”)
SLOT2 -Role $role
Which of the following would come in SLOT1?
Get-AzRoleDefinition
You are the Azure administrator for a company. You have to create a custom role based on the Virtual Machine Reader role. You have to complete the following powershell script
$role = SLOT1 “Virtual Machine Contributor”
$role.Id = $null $role.Name = “Virtual Machine Operator”
$role.Description = “Can monitor and restart virtual machines.”
$role.Actions.Clear() $role.Actions.Add(“Microsoft.Storage/*/read”)
$role.Actions.Add(“Microsoft.Network/*/read”)
$role.Actions.Add(“Microsoft.Compute/*/read”)
$role.Actions.Add(“Microsoft.Compute/virtualMachines/start/action”)
$role.Actions.Add(“Microsoft.Compute/virtualMachines/restart/action”)
$role.Actions.Add(“Microsoft.Authorization/*/read”)
$role.Actions.Add(“Microsoft.ResourceHealth/availabilityStatuses/read”)
$role.Actions.Add(“Microsoft.Resources/subscriptions/resourceGroups/read”)
$role.Actions.Add(“Microsoft.Insights/alertRules/*”)
$role.Actions.Add(“Microsoft.Support/*”)
$role.AssignableScopes.Clear()
$role.AssignableScopes.Add(“/subscriptions/00000000-0000-0000-0000-000000000000”)
$role.AssignableScopes.Add(“/subscriptions/11111111-1111-1111-1111-111111111111”)
SLOT2 -Role $role
Which of the following would come in SLOT2?
New-AzRoleDefinition
A company has just setup an Azure account and subscription. There is a requirement to ensure that IT administrators can only spin up virtual machines of a particular SKU size.
Which of the following can help achieve this?
Create an Azure policy and assign it to the subscription
A company has the following set of Virtual Machines defined in the Azure account
The company wants to move photon-vm1 to another subscription. Which of the following can be implemented to fulfill this requirement?
Use the Move-AzResource powershell command to move the Virtual Machine.
A team has a Virtual Machine defined in Azure. The Networking details are given below
A new network interface named secondary has been created. The Network interface needs to be added to the Virtual machine.
What must be done first in order to ensure that the network interface can be attached to the Virtual Machine?
The machine needs to be stopped first.
The machine needs to be stopped first
A company has the following virtual networks defined in Azure
bhuvanapps-network1 10.1.0.0/16
bhuvanapps-network2 10.2.0.0/16
The following virtual machines have been defined as well
bhuvanappsvm1 bhuvanapps-network1
bhuvanappsvm2 bhuvanapps-network2
The necessary peering connections have been created between bhuvanapps-network1 and bhuvanapps-network2. The firewalls on the virtual machines have been modified to allow ICMP traffic. But traffic does not seem to flow between the virtual machines when the ping request is made.
Which of the following can be used to diagnose the issue?
Application Insights
IP Flow Verify
A company has the following virtual networks defined in Azure
Larger image
The following virtual machines have been defined as well
Larger image
The necessary peering connections have been created between bhuvanapps-network1 and bhuvanapps-network2. The firewalls on the virtual machines have been modified to allow ICMP traffic. But traffic does not seem to flow between the virtual machines when the ping request is made.
If the security department wanted to check on any network intrusions into the virtual networks, which of the following tool could be used for this purpose?
variable packet capture
Your company has an Azure account and subsription. The subscription contains a virtual machine named demovm. You have a computer named Computer1 that runs Windows 10. Computer1 is connected to the Internet. You add a network interface to the VM1 as shown in the exhibit below
From Computer1, you attempt to connect to demovm by using Remote Desktop, but the connection fails. You need to establish a Remote Desktop connection to demovm.
What should you do first?
Start demo vm
Your company has an Azure account and subsription. The subscription contains a virtual machine named demovm. You have a computer named Computer1 that runs Windows 10. Computer1 is connected to the Internet. You add a network interface to the VM1 as shown in the exhibit below
From Computer1 you want to be able to also access a web service running on port 80 after demovm is started.
Which of the following must be done for this to work?
Add an incoming network security group rule for allowing traffic on port 80
Your company has an Azure account and subscription. The subscription contains the resources in the following table:
Your IT administrator has deployed a virtual machine called demovm and a storage account called bhuvanapps-temp by using a single Azure Resource Manager template. You want to do a review of the template that was used for the deployment. Which of the following resource blade could be used to view the template that was used for the deployment?
bhuvanapps-rg
Your company has an Azure subscription. In the subscription, you go ahead and create an Azure file share named share1. You also create a shared access signature (SAS) named SASdemo as shown in the following exhibit.
If you run Microsoft Azure Storage Explorer on a computer that has an IP address of 193.77.134.1 and you use SASdemo to connect to the storage account, then you
Will have no access