RUM Flashcards

1
Q

What are the three ways Dynatrace RUM can be injected into a web application? Why might you choose one method over another?

A
  1. Automatically by OneAgent (easiest, requires OneAgent installation)
  2. Manually if using agentless monitoring (for environments where OneAgent can’t be installed)
  3. Using Dynatrace browser extensions (to monitor third-party applications)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does Dynatrace monitor mobile applications, and what is the injection process like?

A

1.OneAgent for iOS or Android (provides comprehensive monitoring)
2. No injection required (OneAgent handles the instrumentation automatically)

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

In the context of Dynatrace RUM, what constitutes a “user action,” and how does it relate to web server requests

A

A user action is any interaction with the web browser that triggers a request to the web server. This could be loading a page, clicking a button, submitting a form, etc.

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

What are the types of user actions

A
  1. Load action (page load)
  2. XHR action (AJAX requests)
  3. Custom action (defined using the JavaScript API)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are two key factors that differentiate the various types of user actions in Dynatrace RUM?

A
  1. How the action duration is calculated (varies depending on the type of action)
  2. What metrics are available (different metrics are relevant for different action types)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does Dynatrace define and measure the duration of a “load action”? What are the start and end points for this measurement?

A
  1. Definition: The actual loading of a page in the browser.
  2. Duration: Measured from the start of the page load to the completion of the onLoad event handler (or a subsequent XHR triggered by it).
  3. Start: navigationStart attribute or the moment the JavaScript RUM code initializes.
  4. End: When the onLoad handler finishes or after the completion of an XHR triggered by the handler.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does Dynatrace define and measure the duration of an “XHR action”? How does this differ from a load action?

A
  1. Definition: Triggered when user actions lead to an XHR or fetch() call.
  2. Duration: Measured from the initiation of the XHR/fetch call to the completion of loading all related resources.
  3. Start: When the XHR or fetch() call is initiated.
  4. End: When all resources associated with the XHR/fetch call have finished loading.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where in the Dynatrace UI can you configure which types of user interactions are automatically detected and monitored by RUM?

A

Application -> Edit -> Advanced Settings -> Advanced Setup

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

How can you extend Dynatrace RUM to track user interactions that aren’t automatically captured?

A

By using the JavaScript RUM API.

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

What are the three main components that make up the total duration of a user action in Dynatrace?

A
  1. Components: Frontend time, Network time, Server time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does Dynatrace calculate the “frontend time,” “network time,” and “server time” for a user action?

A
  1. Frontend time: User action duration - Network time - Server time.
  2. Network time: (requestStart - actionStart) + (responseEnd - responseStart)
  3. Server time: responseStart - requestStart
  4. User action duration: (loadEventEnd or lastXHREnd) - actionStart
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can you improve the readability and understandability of user action names in Dynatrace RUM?

A

Insert the data-dtname attribute into HTML elements to provide descriptive names.

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

How does Dynatrace track user sessions, even for anonymous users?

A

Tracking: By storing a persistent cookie on the user’s browser.

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

What events mark the beginning and end of a user session in Dynatrace?

A
  1. Session Start: When the first user action is initiated.
  2. Session End:
    After 35 minutes of
    browser inactivity.
    When the user closes
    their browser.(A user
    session remains live in the Dynatrace web UI for up to 35 minutes after the user closes their browser.)
    After a limit of 200 user
    actions.
    When the session
    duration reaches 8
    hours.
    By calling the
    dtrum.endSession()
    method of the JavaScript
    API.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How are user actions grouped and correlated into user sessions by Dynatrace?

A

Visibility in Search: Usually 4 minutes, but can take up to 10.5 minutes.
Grouping: Dynatrace uses cookies and local storage to correlate user actions into sessions.

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

Difference between Live and active users

A
  1. A live user is a user who was active once before, but whose session has not yet been ended.
  2. An active user is a user who has been confirmed still active at a given time.
17
Q

Where in the Dynatrace UI can you adjust the Apdex settings for an entire application?

A

Application Apdex: Apps -> select app -> edit app -> general

18
Q

How can you fine-tune Apdex thresholds for specific key user actions within an application?

A

Key User Action Apdex: Apps -> select app -> top 3 user actions -> view full details -> scroll down to key user actions -> select key user action -> edit

19
Q

List some of the key performance metrics that Dynatrace captures and analyzes to evaluate web application performance.

A

User action duration
Visual complete
DOM interactive
Speed index
Time to first byte
Load event start
Load event end
HTML downloaded
Time to first byte
Largest contentful paint(how quickly a web page’s main content is visible to a user)
Cumulative layout shift( the score measuring the unexpected shifting of visible webpage element)
First input delay (RUM web only)

20
Q

How are user actions with JavaScript errors categorized in terms of Apdex performance levels?

A

JavaScript Errors: Rated as “Frustrating.”

21
Q

What does the “user experience score” represent in Dynatrace RUM, and how is it calculated?

A

User Experience Score: Represents the Apdex for user sessions, reflecting overall user satisfaction.

22
Q

How does Dynatrace protect sensitive user data in session replays? What types of masking are available, and which are applied by default?

A

Masking Types:
All form fields (enabled)
Password fields (enabled)
Content
Attribute
Interaction (enabled for
select forms e.g., gender)

23
Q

If you’re monitoring internal applications, how can you ensure that Dynatrace accurately associates user activity with the correct geographical locations?

A

Settings > Web and mobile monitoring > Map IP addresses to locations.

24
Q

When is it appropriate to use the Dynatrace browser extension for RUM?

A

Browser Extension: When you want to monitor 3rd party applications.

25
Q

In what situations would you opt for agentless RUM monitoring?

A

Agentless Monitoring: When you can’t install OneAgent on your server.

26
Q

What kind of information does the Waterfall analysis view provide in Dynatrace RUM?

A

Data Displayed: Document requests, XHR requests, Resources.

27
Q

What are some of the “top findings” highlighted in the Waterfall analysis view?

A

Uncompressed text resources
Resources larger than 100kb
Resources with a browser cache rate lower than 50%
Slow first-party, third-party, or CDN resources (> 200 ms)
Contacted third-party and CDN domains
First-party, third-party, and CDN resources

28
Q

Which metrics can be selected and analyzed within the Waterfall analysis view?

A

Selectable Metrics: Key performance metrics.

29
Q

Dynatrace allows you to define “conversion goals” to track specific user behaviors. What are the four types of conversion goals you can create?

A

User action
Session duration
Number of user actions
Destination