AZ-300 part 5 Flashcards
You need to deploy an application gateway named appgw1015 to meet the following requirements:
Load balance internal IP traffic to the Azure virtual machines connected to subnet0.
Provide a SLA 99.99 availability for Azure VMs
Click AZ portal Select Application gateway and name it as appgw1015 SKU size: Standard_V2 Resource group: MyresourceGroupAG click OK Accept the default values click virtual network select subnet0
You need to deploy an Azure LB named 1b1016 to your Azure subscription.
Support the Load balancing of IP traffic from the internet to Azure VM connected to VNET1016 \subnet0
Minimize Azure related costs
Step1 create a resource-> Networking -> Load balancer
step2
Myloadbalancer for name of the load balancer
Basic- for SKU version
choose VNET 1016\subnet0
step3
Accept the default values and click Create the load balancer
Your company is developing an e-com Azure App service web App to support hundreds of restaurant locations around the world.
You are designing the messaging solution architecture to support the e-comm transactions and messages.
features:
Shopping cart
Inventory distribution
restaurant telemetry
You need to design asolution for the inventory distribution features?
A. Azure service bus
B. Azure Relay
C. Azure Event Grid
D. Azure Event Hub
A. Azure service bus
You are responsible for Mobile app development for a company.The company develops apps on windows Mobile, IOS ,and Android.
you need to integrate push notifications into every app
You need to be able to send users alerts from a backend server.
Which two options can you use to achieve this goal?
A. Azure web App
B. Azure Mobile App Service
C. Azure SQL Database
D. Azure Notification Hubs
E. A virtual machine
B. Azure Mobile App Service
D. Azure Notification Hubs
You are developing an Azure function that will be triggered using a webhook from an external application.The Azure function will recieve JSON data in the body of the request.Calling application send an account ID as part of the URL.The format for the URL resembles the following /api/account/1
Answer:
Function name Http trigger Anonymouse /account int accountid
You are developing a workflow solution using Azure technologies.
What should you implement to meet each requirement?
* Debug the solution by user visual studio Durable function only Logic apps only Durable function and logic Apps * Use a collection of ready made actions Durable function only Logic apps only Durable function and logic Apps *Deploy the components by using visual studio team services Durable function only Logic apps only Durable function and logic Apps
- Debug the solution by user visual studio
Durable functions only - Use a collection of ready made actions
Logic apps only - Deploy the components by using visual studio team services
Durable functions only
Your developing a SMS -based testing solution.The solution send susers a question by using SMS.Early responders may qualify for prizes.
Users must respont with an answer choice within 90 secs.You must track how long it takes each user to respond,you create a azure durable function named SendSMSQuizQuestions that use Twillio to send messages.
Answer:
D) DateTime
expiration=context.CurrentUtcDataTime.AddSeconds(90)
F) VartimeoutTask=Context.CreateTime(expiration,Cts.Token)
L) if (!cts.IsCancellationRequested)
You are developing a solution that requires serverless code execution in Azure.The solution has two fuction that must run in the specific order.
Durable Orchestration Context
CallActivity/Async
CallActivity/Async
You are developing an app that references data which is sharded across multiple SQL databases.
A. Elastic database transactions with horizontal partitioning.
B. Distributed transactions coordinated by micrsoft Distributed transaction coordinator (MSDTC)
C.Server-coordinated transactions from .Net application
D. Elastic database transaction with vertical partitioning
A. Elastic database transactions with horizontal partitioning.
Your creating a bot for a company by using QNA maker.
you need to make sure that you can update with third party assistance.
Scnerio
*Add customer question answer content QnA maker runtime QnA maker management service *Use an Azure Application insights resource for analytics QnA maker runtime QnA maker management service *Update and train a knowledge base QnA maker runtime QnA maker management service
*Add customer question answer content QnA maker management service *Use an Azure Application insights resource for analytics QnA maker runtime *Update and train a knowledge base QnA maker management service
Your are developing a speech-enabled home automation control bot.The bot interprets some spoken words incorectly.you need to improve it
A. Askpe for business channel and use scorable dialogs for improving conversation flows
B. The web chat channel and speech priming using a bing speech service and LUIS app
C.The skpe channel and use scoarable dialogs for improving conversation flow
B. The web chat channel and speech priming using a bing speech service and LUIS app
Your company develops a bot that use QnA maker knowledge base and language understanding inteligence service (LIUS).You need to integrate it,which four steps you have to take it.
A. Configure that bot app to link LUIS app intents to the knowlege base
B,Create assitance for the LUIS app that corespond to the knowledge base
C.Create intents for the LUIS app that correspond to knowledge base
D. Publish the LUIS app
E. Configure the BOT app to link LUIS app intents to the knowledge base
F. Train the LUIS app
C.Create intents for the LUIS app that correspond to knowledge base
F. Train the LUIS app
D. Publish the LUIS app
E. Configure the BOT app to link LUIS app intents to the knowledge base
You creat a VM scale set named scale1 .Scale 1 is configured as shown below
Default VMS: 2 min and 20 Max
Scale out : if CPU =80 , # of VMS increase =2
Scale in: CPU=30,# of VM decrease=4
If scale1 is utilized at 85% for six minutes will be running (2,4,6,10,20 Vms)
If scale 1 first utilize at 25 % for six minutes and then utilize at 50% for six min scale1 will be running
(2,4,6,10,10 Vms)
If scale1 is utilized at 85% for six minutes will be running (6 Vms)
If scale 1 first utilize at 25 % for six minutes and then utilize at 50% for six min scale1 will be running
(2 Vms)
Instances only added when the CPU threasold reach over 80%.
You company hosts multiple websites by using Azure VM scale set (VMSS) that runs IIS .All Network use SSL encrption.User session must be routed to the same server by using cookie-based session affinity. Which IP address type should you use ( Public ,Private) Which azure solution should you create to route the web interface traffic to VMSS? Azure VPN gateway Azure Application gateway Azure express route Azure network watcher
What should you configure to make sure web traffic arrives at the appropriate server in VMSS. Routing rules and backend interface CNAME and A record Routing menthod and DNS (TTL) Path based redirection and WebSocket.
Which IP address type should you use
( Public )
Which azure solution should you create to route the web interface traffic to VMSS?
Azure Application gateway
What should you configure to make sure web traffic arrives at the appropriate server in VMSS.
Path based redirection and WebSocket.
Create a virtual network named vnet108 that contains three subnets named subnet0,1,2,.the solution meet these reqs
connections from any of the subnets to internet must be blocked
The number of NSG and NSG rules must be minimized
Create resource-> networking->virtual network->vnet108
address 10.0.0.0/16
subnet0/1/2
subnet range:10.0.0.0/24
A company is migrating an existing third party website to azure .the website is stateless.The number of visitors
varies throughout the year.
A Use an autoscale setting to scale instances vertically
B Create 100 autoscale setting per resource.
C Use Azure monitor to create autoscale setting using custom metrics
C Use Azure monitor to create autoscale setting using custom metrics
You have an Azure subs named subscritions
you create several Azure virtual machines in sub1 ,all the VM belongs to same Virtual network
You have on -prem hyper V server name servers server1 hosts a VM named VM1.you plan to replicate VM1 to Azure
Which three objects you create ?
A Hyper V site
B Azure recovery service vault
C Storage account
D replication Policy
E Azure traffic manager instance
F end point
A Hyper V site
B Azure recovery service vault
D replication Policy
Your company is developing an e-com Azure App service web App to support hundreds of restaurant location around the world.You need to choose the Azure messaging solution to support the restaurant Telemetry feature, A Azure relay B Azure event Grid C Azure event hub D Azure Service Bus
C Azure event hub
A company is migrating an existing on prem third party website to Azure.
You need to implement a virtual machine scale set instance
A use a webhook to log autoscale failure
B Use an autoscale setting to scale instances vertically
C Use only default diagnostics metric to trigger autoscalling
D Use an autoscale setting to define more profiles that have one or more autoscale rules
C Use only default diagnostics metric to trigger autoscalling
In guest VM metrics with the Azure diagnostics extension
The Azure diagnostic extention is an agent that runs inside VM instance.You can create autoscale rules based on a more detailed awarenes of VM performence,not just CPU usage or memory consumtions.
You need to meet the technical reqs for VM4 What should you create and configure ? A An Azure notification hun B An Azure service Bus C An Azure logic App D An Azure event Hub
D An Azure event Hub
You need to prepare the environment to implement the planned changes for server2 what should you do ?
from Azure portal -> Create a recoevery service vault
On server 2 -> Install the Azure site recovery provider
from Azure portal -> Create a recoevery service vault
On server 2 -> Install the Azure site recovery provider
You discover that VM3 does not meet the technical reqs
You need to verify if issue is related with NSGs
A The security recommendation in Azure adviser
B Ip Flow verity in Azure Network Watcher
C Diagnose and solve prob in traffic manger profiles
Dianostic setting in Azure montor
E diagram in Vnet1
B Ip Flow verity in Azure Network Watcher
You need to recommend a solution to automate the configs foe the finace dept users.Solution should meet technical reqs.
A Dynamic groups and conditional access policies
B Azure AD identity protection
C Azure AD B2C
D An Azure logic app and the Microsoft identity management (MIM ) client
A Dynamic groups and conditional access policies
You need to meet the connect reqs for the newyork office
from the Azure portal —> Create a virtual network gateway and a local network gateway
In the network office–> Configure siste to site VPN connection
from the Azure portal —> Create a virtual network gateway and a local network gateway
In the network office–> Configure site to site VPN connection
Your developing an Azure web app .You configure TLS mutual authontication for the web App.
You need to validate the client certificate in the web App.To answer ,select the appropriate options.
Property value
client certificate location HTTP request header
Encoding type base64
Property value
client certificate location HTTP request header
Encoding type base64
You maintain an existing Azure sql db instance mangement of the database is performed by an external party.All cryptography keys are stored in the Azure key vault
will each protection method meet the requirement?
To answer choose Yes /No
1 Enable always Encryted encryption
2 Set the column encryption setting to disabled
3 Assign users to the public fixed database role
4 Store column encryption keys in the system catalog view in the database
Enable always Encryted encryption ( yes )
Set the column encryption setting to disabled (No)
Assign users to the public fixed database role (No)
Store column encryption keys in the system catalog view in the data base (No)
You have an Azure sub that contains 10 virtual machines
You need to ensure that you recieve an email message when any VM are powered off
what is the minimum number of rules and group that you require?
A three rules anf three action groups
B three rules and one action group
C One rule and one action group
D.One rule and three action groups
B three rules and one action group
Subscrition contain the VM in the folowing
VM1 –> 10.0.1.4
VM2 -> 10.0.2.4
VM3 –> 10.0.3.4
Virtual network VNET1
Subnet1 –> 10.0.1.0/24 –> VM1
subnet2 —> 10.02.0/24-> VM2
subnet3 —> 10.0.3.0/24—> VM3
VM3 has multiple net
work adapters,including a network adapter named NIC1 ,IP forwarding is enabled on NIC3 .Routing is enabled on VM3
You create a route table named RT1 that contains the routes in the table
IP prefix Next hop type Next hop address
10.0.1.0/24 virtual appliance 10.0.3.4
10.0.2.0/24 virtual appliance 10.0.3.4
VM3 can establish a network connection to VM1
If VM3 is turned off VM2 can establish a network connection to VM1
VM1 can establish a network to VM2
VM3 can establish a network connection to VM1 (Yes)
If VM3 is turned off VM2 can establish a network connection to VM1 (NO)
VM1 can establish a network to VM2 (NO)
You have Azure sub that contains three Virtual network VNet1 ,VNET2,VNET3.Vnet2 contains a virtual appliance named VM2 that operate as router
You are configuring the virtual Virtual network in a hub and spoke topology that uses VNET2 as the Hub network
YOU plan to configure peering between VNET1 VNET2 and between VNET2 and VNEt3
which two configs will you perform?
A create route filter
B On the peering connections ,allow gateway transit
C Create route table and assign the table to subnets
D On the peering connections use remote gateways
B On the peering connections ,allow gateway transit
D On the peering connections use remote gateways
You are designing a solution to secure a company Azure resources.The environment hosts 10 teams >each team manges a project and has a project manager,a virtual machine operator ,developer and contractors
Project manager must be able to manage everything except access and authontication for users,VM operator must be able to mange VMs,but not the Virtual network or storage acct to which they are connected.Developer and contractore must be able to mange storage accounts,you need to recommend the roles
Contributor
Reader
Virtual machine contributor
Storage account contributor
Project manager —Contributor
virtual machine operator—– Virtual machine contributor
Developer —– Storage account contributor
Contractors —– Storage account contributor
You have Azure service bus
you need to implement a service bus que that gaurantees first in first out delivery of messages what should yo do?
A Enable duplicate detection
B Set a MAx size setting of the queue to 5 GB
C Enable sessions
D Enable Partitioning
E Set the lock duration setting to 10 seconds
C Enable sessions
You have azure subcription that contains
Name Type Region Resource group
RG1 Resource grp Central US N/A
RG2 Resource grp West US N/A
VM1 Virtual machine EAst US RG2
VNet1 Virtual network East Us RG1
In RG2 you need to create new VM called VM2 that will connect to VNET1 to VM2 and will use a network interface VM2 interface
In which region should you create VM2 and VM2 interface ?
VM2 will be in the Central US
VM2 interface East US
You have a virtualization environment that contains the virtualization servers in the following
Name Hypervisor Run VMS
Server1 Hyper-V VM1,VM2,VM3
Server2 VMware VMA,VMB,VMC
Name gen memory OS disk Datadisk OS
VM1 1 4gb 200gb 800gb W2012r2
VM2 1 12gb 3tb 200gb RH 7.2
VM3 2 32gb 100gb 1tb WSr2016
VMA na 8gb 100gb 2tb Wsr2012R2
VMB na 16gb 150gb 1tb RH 7,2
VMC na 24gb 500gb 6tb WSr2016
All the Vms use the basic disks .VM1 is protected by using the Bitlocker drive encryption
You plan to use Azure site recovery to migrate the VM to azure,which VM can migrate ?
Virtual machine from server1 is VM3
Virtual machine from server2 are VMA and VMB only