Prepare for the Dynatrace Pro Certification Exam with flashcards and multiple choice questions. Each question comes with hints and explanations to ensure you're ready for success!

Practice this question and more.


Which methods can capture async requests in Dynatrace?

  1. Only fetch() method

  2. Only XHR method

  3. Both fetch() and XHR methods

  4. HTML requests only

The correct answer is: Both fetch() and XHR methods

The selection of both fetch() and XHR methods as the correct answer is based on Dynatrace's capability to monitor and analyze various types of asynchronous requests made by web applications. The fetch() method is a modern JavaScript API for making HTTP requests that can be used to retrieve data in a promise-based way. It supports a range of HTTP methods and provides flexibility in handling network requests, making it a common choice for async communication in applications. On the other hand, XHR (XMLHttpRequest) is the traditional way of performing async requests in web applications. It allows developers to send requests and handle responses in a more complex manner, making it integral to many legacy applications that still utilize this method for asynchronous communication. Dynatrace is designed to capture performance data from both of these methods. This capability ensures that users get comprehensive monitoring and visibility into how their web applications perform when executing async requests, regardless of the method used. This holistic approach to tracking loads and performance issues across different request types is a key feature of Dynatrace, making it much easier for developers and operators to pinpoint and resolve performance bottlenecks. Other options imply limitations that are not present in Dynatrace’s capabilities, thereby underscoring the importance of recognizing