Datadog-APM-and-Distributed-Tracing-Fundamentals practice question 3 of 25
What does the following code snippet do for RUM React Native Monitoring? config.firstPartyHosts = ["example.com",
Full set: 180 questionsThe firstPartyHosts property is used during the initialization of the RUM React Native SDK to identify which network requests are made to your own backend services. For any request matching a host in this list, the SDK automatically adds Datadog tracing headers. This allows the backend APM agent to link the server-side trace with the originating frontend user action, creating a complete distributed trace from the client to the backend.
This question was presented in a fill-in-the-blank format; therefore, no incorrect options were available for evaluation.
1. Datadog Documentation, "React Native Monitoring," Connect RUM and Traces. (https://docs.datadoghq.com/realusermonitoring/reactnative/datacollected/connectrumandtraces/). This page explicitly states: "To link RUM data with traces, you need to specify the hosts of your first party requests in the firstPartyHosts array during the SDK initialization."
2. Datadog Github Repository, dd-sdk-react-native, "Advanced Usage" documentation. The README.md file in the repository details the firstPartyHosts configuration option for enabling distributed tracing.
Keep practicing
Take the free Datadog-APM-and-Distributed-Tracing-Fundamentals practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other Datadog-APM-and-Distributed-Tracing-Fundamentals practice questions
- Question 1Which statement is true for trace metrics?
- Question 2Your web service has some 500 Internal Server Error showing up on the trace explorer page…
- Question 4Your food ordering portal had an incident last week. You would like to offer a discount t…
- Question 5Which of the following actions require creating facets first?
- Question 6How long are traces retained?
- Question 7What's the best way to find out the reason for the 500 errors when filtering for status:e…
