Configure diagnostics, monitoring and analytics Flashcards

1
Q

Event Log

A

Event Log is particularly useful for capturing unhandled exceptions that may have escaped the application’s exception handling logic and surfaced to the web server. Only one XML file is created per website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Web server

A

Web server logs Web server logs are textual files that create a text entry for each HTTP request to the website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Detailed error message logs

A

These HTML files are generated by the web server and log the error messages for failed requests that result in an HTTP status code of 400 or higher. One error message is captured per HTML file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Failed request tracing logs

A

In addition to the error message (captured by detailed error message logs), the stack trace that led to a failed HTTP request is captured in these XML documents that are presented with an XSL style sheet for in-browser consumption. One failed request trace is captured per XML file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Application diagnostic logs

A

These text-based trace logs are created by web application code in a manner specific to the platform the application is built in

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Site Control Manager (SCM)

A

1) Parallel website that is available with every deployed website, providing various management functions
2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Retrieving diagnostic data using Windows PowerShell

A

1) cmdlets are installed and configured to connect to your subscription
2) Get-AzureWebsiteLog -Name contoso -Tail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Retrieving diagnostic data using the xplat-cli

A

azure site log download
enter just the name (not the full URL),
file named Diagnostic.zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

debugging website in azure

A

When you attach the debugger and pause at a breakpoint, you are stopping the deployed Azure website for all requests
Azure will treat your Websites worker process as having become unresponsive and try to restart it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Configuring endpoint monitoring

A

you leverage a service remote to your website, possibly in multiple regions around the world, to periodically ping your website to assess its health
Endpoint monitoring is available only to websites running in the Standard web hosting plan mode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

webjobs

A

1) run on demand, continuously, or on a predefined schedule with a recurrence
2) enabling you to perform background processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

WebJobs SDK binding attributes in C#

A

1) Blob trigger

2) IQueue trigger

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Configure websites for scale and resilience

A

1) Configure auto-scale using built-in and custom schedules
2) Image Configure auto-scale by metric
3) Image Change the size of an instance
4) Image Configure Traffic Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Configuring auto-scale by metric

A

1) CPU Percentage
2) Image Memory Percentage
3) Image Disk Queue Length
4) Image Http Queue Length
5) Image Data In Amount of traffic ingress in kilobytes
6) Image Data Out Amount of traffic egress in kilobytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Scope of Auto-Scale

A

Auto-scale affects the instance count of your web hosting plan and therefore affects all websites hosted within that plan. It does not apply directly to an individual website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Configuring Traffic Manager

A

Traffic Manager combines endpoint monitoring of your website with DNS so that client traffic is always directed toward a viable endpoint. It is important to understand that traffic does not flow through Traffic Manager to your website endpoint, but rather it is guided to your website endpoint as a result of DNS resolution

17
Q

Custom Domain Names and Traffic Manager

A

1) custom domain name with Traffic Manager, you must configure the DNS settings for the custom domain to use a CNAME record that maps to the . trafficmanager.net address.

18
Q

A record and Traffic manager

A

You cannot use an A record to map to an IP address exposed by Traffic Manager. This means that you can only use Traffic Manager for subdomains, such as www.contoso.com and not for contoso.com.

19
Q

Traffic Manager load balancing methods

A

Failover
Round robin
Performance

20
Q

Failover load balancing

A

When a DNS query comes in from a client, Traffic Manager picks the first endpoint from the ordered list of endpoints that it determines is healthy based on periodic monitoring of the endpoints.

21
Q

Round robin load balancing

A

Traffic Manager treats each active endpoint in its list of endpoints equally and tries to evenly distribute traffic among the endpoints in a round-robin fashion.

22
Q

Performance load balancing

A

e Traffic Manager picks the “closest” endpoint from the configured list of endpoints that should have the lowest latency for the client.

23
Q

Avoiding Cascading Failures

A

if all the endpoints in the closest datacenter are not available, then Traffic Manager will switch to a round-robin method, distributing traffic to endpoints located in other datacenters to avoid overwhelming the endpoints in the next closest datacenter and potentially causing a chain of failures

24
Q

Design and implement applications for scale and resilience

A

1) Select a pattern
2) Implement transient fault handling for services and respond to throttling
3) Disable Application Request Routing (ARR) affinity

25
Q

Cloud Patterns websites and webjobs

A
Static Content Hosting pattern
Cache-Aside pattern
Health Endpoint Monitoring pattern
Compensating Transaction pattern
Command and Query Responsibility Segregation pattern
26
Q

Cloud Patterns webjobs

A
Competing Consumers pattern
Priority Queue pattern
Queue-Based Load Leveling pattern
Leader Election pattern
Scheduler Agent Supervisor pattern
27
Q

Application Request Routing (ARR)

A

is a feature of Websites that effectively enables sticky sessions between the client (such as the browser) and the first instance of the website it connects to by providing the client with a cookie that encodes identification for that website instance