Microsoft Azure DevOps Solutions AZ 400 Practice Exam 9 Py2tzw
Microsoft Azure DevOps Solutions AZ 400 Practice Exam 9 Py2tzw
Q1) You've enabled Application Insights for your web app. In which of the following Azure resources will telemetry data be
stored for the app?
Q2) Which action is NOT something a site reliability engineer would do?
Q3) Application Insights will send a performance degradation notification in which of the following scenarios?
Q4) When writing alerts, you want to alert on symptoms rather than causes. What is an example of a symptom-based alert?
New.
Closed.
Acknowledged.
Explanation:-The Acknowledged state is when an administrator has reviewed the alert and started working on it.
Q6)
Assume one server can handle 5,000 requests per unit of time, and a web site experiences loads that vary relatively evenly
from a low of 5,000 to a peak of 25,000.
The site is hosted in the cloud using virtual machines and each VM costs $4 per day.
What is the approximate annual difference in cost between providing elastic capacity that is sized to meet demand and
constant capacity sized to handle peak loads?
$1,240
$2,920
Explanation:-If the average capacity is 15,000 requests per unit time and peak is 25,000, then the difference equates to two servers. (2 servers) X
($4/day) X (365 days/year) = $2,920.
$600
$4,680
Q7) Which of the following choices is NOT one of the benefits of scaling when scaling is done well?
Q8) Which of the following choices is a benefit of horizontal scaling compared to vertical scaling?
Q9)
You are a cloud administrator in charge of ensuring that your organization's public-facing web site remains fast and responsive
at all times.
The site is hosted in an Azure App Service. It sees the heaviest traffic between 8:00 a.m. and 5:00 p.m. each day, but the load is
somewhat inconsistent from one day to the next. In addition, it experiences infrequent burst loads with up to 10 times the
normal traffic.
These bursts are difficult to predict, but slow the site to a crawl if additional resources aren't brought online rather quickly.
What approach would provide the best balance between responsiveness and cost?
Manual scaling
A combination of scheduled scaling and metrics-based scaling
Auto-scaling based on a key metric such as CPU utilization or request rate
Explanation:-Properly configured, metrics-based auto-scaling makes sure that the site is scaled the right amount for cyclical loads as well as burst
loads.
Scheduled auto-scaling
Q10)
Consider the following scenario: you're using a load balancer with a round-robin scheduler as a front end to two web servers.
One web server is a medium instance that contains 2 cores and 8 GB RAM, while the other is a large instance with 4 cores and
16 GB RAM.
Both instances will receive an equal number of requests and the large instance will have twice the utilization, in terms of percentage of CPU and
memory, of the medium instance.
Both instances will be equally utilized in terms of percentage of CPU and memory and the medium instance will receive twice as many requests
as the large instance.
The large instance will receive twice as many requests as the medium instance and the large instance will have half the utilization, in terms of
percentage of CPU and memory, of the medium instance.
The large instance will receive twice as many requests as the medium instance and the large instance will have twice the utilization, in terms of
percentage of CPU and memory, of the medium instance.
Both instances will receive an equal number of requests and the large instance will have half the utilization, in terms of percentage of CPU and
memory, of the medium instance.
Q11) Which of the following is NOT a scenario for which you would consider a serverless-computing solution?
Q12) Which of the following test scenarios will not help testing the resiliency and readiness of a cloud service?
Q13)
You're using Azure Load Balancer with a round-robin scheduler as a front end to two web servers.
The other server is a large instance with four cores and 16 GB of RAM.
Both instances will be equally utilized (in terms of percentage of CPU and memory). The large instance will receive twice the load of the medium
instance.
Both instances will be equally utilized (in terms of percentage of CPU and memory). The medium instance will receive twice the load of the large
instance.
The large instance will receive twice the load of the medium instance. The large instance will have half the utilization (in terms of percentage of
CPU and memory) of the medium instance.
The large instance will receive twice the load of the medium instance. The large instance will have twice the utilization (in terms of percentage of
CPU and memory) of the medium instance.
Both instances will receive an equal amount of load. The large instance will have half the utilization (in terms of percentage of CPU and memory)
of the medium instance.
Q14) Which of the following is not one of the benefits of scaling, when done well?
Q15) Which of the following is not a recommended way to solve the variability problem that leads to a long tail?
Q17)
You closed a port in a network security group used by a virtual network that hosts the VMs in the Load Balancer pool.
Load Balancer queues client requests until the port is opened again. At that point, the requests are sent.
If the port is used to send traffic to the VMs in the pool, then this traffic is blocked. All requests time out and eventually fail. If this port was a probe
port, the VM is removed from rotation.
Explanation:-Traffic is blocked and all requests time out and eventually fail unless this port was a probe port. In that case, the VM is removed from
rotation.
If one is available, Load Balancer attempts to use a different port. Requests are sent to VMs through this port instead.
Q18) What does the average Health Probe Status metric indicate?
The number of virtual machines available that will respond to client requests.
The percentage of virtual machines in the back-end pool that are responding to health probe requests.
The number of virtual machines in the back-end pool that are responding to health probe requests.
Q19)
You're monitoring the average packet count metric for a load balancer.
The average packet count suddenly increases by a significant amount, although the number of clients doesn't appear to have
changed.
One or more virtual machines in the back-end pool are no longer responding to health probe requests and are no longer participating in load
balancing.
The load balancing rule has stopped directing traffic to one or more virtual machines in the back-end pool.
Additional virtual machines have become available in the back-end pool.
Q20)
You want to track the average CPU usage of your Azure virtual machine over the last seven days.
View the metric in the Monitor section by creating a graph and set the range to the last seven days.
View the metrics for the virtual machine each day and store the values for each of the last seven days in a spreadsheet.
View the metrics for the virtual machine on the Overview page and set the range to the last seven days.
Explanation:-The Overview page displays this graph by default. You can set the range to show a seven-day range.
Q21) What do you have to install or create to store simple boot diagnostics in Azure?
Q22)
Q23)
Users are complaining that a Web site you deployed to the cloud has suddenly become very slow.
Which of the following metrics might be helpful to you in resolving the problem?
Q24) Which of the following statements about application performance monitoring (APM) platforms is NOT true?
APM platforms can be used to trigger actions such as alerts sent to administrators and virtual-machine scaling
Public cloud services such as AWS and Azure provide integrated monitoring services that may be used instead of (or in conjunction with) third-
party APMs
Public cloud services such as AWS and Azure provide integrated monitoring services that must be used instead of third-party APMs
Explanation:-AWS and Azure offer integrated monitoring services, but administrators are free to use third-party APMs as well.
Agentless APM platforms typically rely on service logs to monitor performance
Q25) A count of requests per minute reaching a server is an example of which of the following?
None of these
A correlation
A performance indicator
A performance metric
Explanation:-Requests-per-minute is a metric, not an indicator or a correlation.
Q26)
To monitor the performance of an application deployed to the cloud and determine when it needs to be scaled to meet demand,
you've configured a dashboard to show the number of requests received per minute and the number of requests processed per
minute.
The idea is that if the count of requests processed plateaus while the count of requests received continues to grow, the server
might be saturated and you need more servers.
A performance indicator
A USE correlation
Explanation:-USE considers the number of requests processed during a given interval and the number of requests that couldn't be processed.
A performance metric
A RED correlation
Use performance metrics of various types to continually improve a system, even when it hasn't reached a breaking point.
Explanation:-The primary goal of everyday remediation is to continually make improvements to a system to head off problems before they occur.
Use performance metrics of various types to promptly mitigate breakages when they occur, and to identify trends in the IT department's response
time.
Ensure that system administrators are aware when the ratio of requests processed to requests received falls below a specified threshold, usually
50%.
Ensure that system administrators are aware when problems occur that affect the responsiveness of a system or its ability to serve business
objectives.
Q30) How can you prevent persistent access to your virtual machines by using Azure Security Center?
Use automation and orchestration to block access.
Use just-in-time access to prevent persistent access.
Explanation:-With just-in-time access, your virtual machines are only accessed based on rules that you configure.
Use playbooks to block access.
Q31) Artifacts from a GitHub Actions workflow can be saved with what action?
Q32) What is one way that GitHub Actions workflows can NOT be used?
Q33) Which action would you use to access a repository's code from the virtual machine provided by GitHub Actions?
actions/setup-nodeZ
npm install
actions/checkout
Explanation:-The actions/checkout accesses a repository's code from the virtual machine provided by GitHub Actions
actions/upload-artifact
Q34)
5
3
6
Explanation:-Each operating system is paired with each version of Node for a total of 6 builds.
Q37) How do you make sure that your Azure credentials are not stored in plain text in your repository?
Q38) Which type of version control enables you to work from your own copy of the main repository?
Create an entirely new repository that's not connected to the main repository.
Make changes and experiment with the codebase without affecting other developers' work.
Explanation:-A Git branch points to a particular commit, or snapshot, of your entire repository. You can then propose your changes for others to
review or discard them and try something else.
Copy only the part of the repository that you want to work with.
You want to analyze and address problems that affect your application's health.
Explanation:-You can analyze and address issues such as exceptions, failures, and availability problems.
You want to analyze and address problems that affect your on-premises infrastructure's security.
You want to analyze and address problems that affect your cloud infrastructure's security.
Q43) How can you continuously monitor your applications from different geographic locations?
Use Log Analytics to continuously monitor your application from different geographic locations.
Use an instrumentation key to continuously monitor your application from different geographic locations.
Use availability tests to continuously monitor your application from different geographic locations.
Explanation:-Availability tests let you monitor your application from multiple locations in the world.
You want to be able to cross-query over data collected from multiple sources that span on-premises and the cloud.
You want a detailed overview of your enterprise, potentially across multiple clouds and on-premises locations.
Explanation:-Azure Sentinel will help monitor and respond to security threats across your entire enterprise.
You want to improve the development lifecycle for an application that spans across on-premises and the cloud.
Q47) Sentinel has raised an incident. How can you investigate which users have been affected?
Use the investigation map, drill down into the incident, and look for playbooks.
Use the investigation map, drill down into the incident, and look for user entities affected by the alert.
Explanation:-Use entities to view users that might have been in the path of a particular threat or malicious activity.
Use the investigation map, drill down into the incident, and look for data sources.
Q48) You need to write queries to analyze your log data. How would you do this?
Q49) How can you automatically collect security-related data from all newly created virtual machines into one central location?
Q50) How can you analyze both security-related data and application performance data together?
Use automatic provisioning to query Azure Security Center and Application Insights workspaces together.
Use a cross-resource query to query Azure Security Center and Application Insights workspaces together.
Explanation:-You use cross-resource querying to analyze the log data collected from separate workspaces.
Use the Log Analytics agent to query Azure Security Center and Application Insights workspaces together.
Q51)
“Continuous Collaboration enables teams to innovate outside of the boundaries of planned meetings.”
Which of the following value considerations conflict with the quoted statement?
Q52)
Aligning KPIs with habits is important because it helps achieve positive business outcomes.
Which of the following habits is important for reinforcing KPIs and setting teams up for success?
A methodology that helps visualize complex work systems and address the disconnects, redundancies, and gaps in how work gets done
Explanation:-This is a good description of value stream mapping.
A concept that organizes objects of value in an idealized workflow stream
An activity that maps value to different programming activities as a way to identify work components that have the highest value
Q54) In addition to what's stated in its definition, what does value stream mapping help identify and quantify?
Development milestones
Waste
Explanation:-Value stream mapping helps identify and quantify waste.
Customer value declarations
Impact
Explanation:-DevOps leadership should measure impact.
Number of bugs
Team velocity
Q56) Why is it difficult to pull together various processes into Continuous Delivery?
Because the waste elimination process is more time-consuming than other processes.
Because Continuous Delivery requires a combination of people, process, and automation working together.
Explanation:-This is why it's difficult to pull together various processes into Continuous Delivery.
Because increased deployment frequency leads to team burnout.
Q57) Which is the most important question to ask as a way to understand delivery performance in an organization?
Fault-focused monitoring
Improved code production metrics
Faster ROI
Explanation:-This is one of the many benefits of Continuous Delivery.
Q59) What false assumption should you beware of when striving for Continuous Quality?
The more bugs that are found and fixed, the better the quality
Explanation:-This is a false assumption about Continuous Quality.
Quality is primarily a marketing asset and yields few other benefits
Quality should be assured by tests conducted by a dedicated team
Q61) Which of the following provides a set of tools for monitoring, allocating, and optimizing your Azure costs?
Q62) Which of the following can be used to estimate cost savings when migrating to Azure?
Usage meter
Total Cost of Ownership calculator
Explanation:-The TCO calculator is a tool that you use to estimate cost savings you can realize by migrating to Azure.
Pricing calculator
Q63) What are the capabilities that Azure Advisor can provide recommendations for?
A tool in Azure that lets you define how much you want to spend, cuts of services when that allocation is met.
See estimates of what your services might cost if you make a change.
See historical breakdowns of what services you are spending your money on.
Explanation:-You can use the historical breakdowns to change how and why you spend on Azure.
Q65) Which tab of the Azure pricing calculator will you use to put together your estimate?
Features
Products
Explanation:-The products tab lets you pick what capabilities your solutions and cloud infrastructure needs.
Estimate
Q66) Azure Monitor provides observability across what areas of your application stack?
Q67) Which of these is an easy way to get full observability across all of your Azure resources?
Combine your Azure resources in two resource groups, one for the application and one for the infrastructure, and use Application Insights and
Infrastructure Monitor for resource groups to monitor the health and performance across all of you application resources.
Combine your Azure resources in a resource group and use Application Insights to monitor the health and performance across all of you
application resources.
Combine your Azure resources in a resource group and use Azure Monitor for resource groups to monitor the health and performance across all
of you application resources.
Explanation:-Azure Monitor for resource groups provides a basic way to keep track of the health and performance of your entire application and
enables you to drill down into individual components so that you can troubleshoot failures.
Q68)
You're monitoring your application's health and performance with Application Insights.
What feature of Application Insights sends you an automatic alert when it detects an unusual pattern?
Profiler
Usage Analysis
Smart Detection
Explanation:-Smart Detection provides automatic alerts that adapt to your app's normal patterns of telemetry and trigger when there's something
outside the usual pattern.