


















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Focused on New Relic’s programmability capabilities, this practice exam covers building custom dashboards, using NerdGraph APIs, writing Nerdlets, deploying apps using the New Relic One platform, and automating observability workflows. It also tests integrations with external systems, creation of custom events, and development of programmatic insights using telemetry data, enabling candidates to demonstrate developer-level observability proficiency.
Typology: Exams
1 / 90
This page cannot be seen from the preview
Don't miss anything!



















































































Question 1. What primary purpose does New Relic One serve in an organization? A) Continuous deployment automation B) End‑to‑end observability across applications, infrastructure, and services C) Source‑code version control D) Cloud cost optimization Answer: B Explanation: New Relic One is an observability platform that aggregates telemetry (metrics, traces, logs, events) to give a unified view of system health. Question 2. In the context of New Relic, “programmability” most accurately refers to: A) Writing custom scripts to provision cloud resources B) Extending the platform with custom UI, data sources, and automation via SDKs, CLI, and APIs C) Configuring firewall rules for data collection agents D) Using machine‑learning models to predict outages Answer: B Explanation: Programmability in New Relic enables developers to build custom integrations, visualizations, and automation using provided developer tools. Question 3. Which tool is primarily used to interact with New Relic resources from a terminal? A) New Relic Dashboard Builder B) New Relic Command Line Interface (CLI) C) New Relic Mobile App D) New Relic Alert Policies UI Answer: B Explanation: The New Relic CLI provides commands for managing accounts, apps, alerts, and more directly from the command line.
Question 4. NerdGraph is New Relic’s implementation of which technology? A) RESTful API B) SOAP API C) GraphQL API D) gRPC API Answer: C Explanation: NerdGraph is New Relic’s GraphQL endpoint that allows flexible queries and mutations of observability data. Question 5. Which of the following is NOT a typical use case for extending New Relic via programmability? A) Custom data visualizations on dashboards B) Automatic scaling of Kubernetes pods based on CPU usage C) Integrating third‑party ticketing systems for incident response D) Exporting telemetry to an external data lake Answer: B Explanation: While New Relic can trigger alerts, automatic scaling of pods is usually handled by orchestration tools, not directly via New Relic extensions. Question 6. The New Relic One SDK is primarily built on which front‑end framework? A) Angular B) Vue.js C) React D) Svelte Answer: C
Explanation: The Double Sidebar layout gives left and right navigation panes with a main content region. Question 10. How can a developer style a New Relic One application without writing custom CSS? A) By using the built‑in component theme props and layout utilities B) By embedding inline <style> tags in JSX C) By importing external CSS frameworks like Bootstrap D) By editing the global stylesheet in the platform UI Answer: A Explanation: The SDK provides theming props (e.g., className, style objects) and pre‑styled components, eliminating the need for custom CSS. Question 11. Which API would you use to fetch the list of alerts policies for an account? A) NerdGraph query alertsPolicies B) REST endpoint /v2/alerts_policies.json C) nr1 alerts list CLI command only D) New Relic One UI only Answer: A Explanation: NerdGraph’s alertsPolicies query returns policies; it is the recommended way to programmatically retrieve this data. Question 12. The nerdlet-api module is primarily used for: A) Deploying Nerdpacks to production B) Interacting with the New Relic platform from within a Nerdlet (e.g., navigation, data fetching) C) Managing AWS resources D) Running unit tests for custom visualizations Answer: B
Explanation: nerdlet-api offers functions like navigate, setConfig, and data request helpers for Nerdlet development. Question 13. Which of the following statements about props in a New Relic component is true? A) Props cannot be changed after component mount. B) Props are only used for styling, not data. C) Props allow parent components to pass configuration and data down to child components. D) Props must be defined in manifest.yml. Answer: C Explanation: Props are the standard React mechanism for passing data and configuration from parent to child components. Question 14. To integrate an external REST API into a Nerdlet, which library is recommended? A) axios or the native fetch API within the Nerdlet code B) New Relic’s built‑in http-client module (non‑existent) C) jQuery.ajax only D) Directly embedding the external API’s JavaScript SDK without any HTTP client Answer: A Explanation: Standard HTTP clients like axios or fetch work in the Nerdlet environment for external API calls. Question 15. Custom instrumentation in New Relic is used to: A) Replace the default UI theme B) Track business‑specific metrics not captured by default agents C) Encrypt telemetry data at rest D) Disable data collection for a specific service
D) Email New Relic support with the visualization files Answer: C Explanation: The nr1 catalog:publish command registers the visualization in the catalog, allowing other users to install it. Question 19. Which permission is required for a user to add a custom visualization to a dashboard? A) view_dashboard B) edit_dashboard C) admin_account D) manage_custom_visualizations Answer: B Explanation: Editing a dashboard (including adding visualizations) requires the edit_dashboard permission. Question 20. Deployment channels in New Relic One (dev, beta, stable) are used to: A) Separate code for different programming languages B) Control the visibility and stability of released versions to users C) Manage network traffic routing D) Define pricing tiers for the application Answer: B Explanation: Channels allow developers to test new features in dev or beta before promoting to the stable channel for production use. Question 21. Which command increments the version of a Nerdpack before publishing? A) nr1 version bump B) nr1 pack:release
C) npm version patch (run inside the Nerdpack) D) nr1 deploy --increment Answer: C Explanation: Nerdpacks follow standard npm versioning; using npm version updates package.json before publishing with nr1 deploy. Question 22. The New Relic Terraform Provider is primarily used for: A) Deploying custom visualizations via Terraform scripts B) Managing New Relic resources (alerts, dashboards, users) as code C) Automating Kubernetes pod restarts based on alerts D) Generating synthetic monitors from Terraform modules Answer: B Explanation: The Terraform provider lets you define and provision New Relic entities (alerts, dashboards, etc.) using IaC principles. Question 23. Which Kubernetes operator enables declarative management of New Relic resources within a cluster? A) Prometheus Operator B) New Relic Kubernetes Operator C) Istio Operator D) Helm Operator Answer: B Explanation: The New Relic Kubernetes Operator watches custom resources to create or update New Relic configurations automatically. Question 24. Observability‑as‑Code aims to:
Question 27. Which of the following is a valid way to pass data from a parent Nerdlet component to a child visualization component? A) Using global variables in the window object B) Through React props defined on the child component tag C) By writing data to a local file and reading it in the child D) Using a URL query string only Answer: B Explanation: React props are the idiomatic method for passing data between components in a Nerdlet. Question 28. To fetch the latest 100 events of type Deployment via NerdGraph, you would include which field in your query? A) events(type: "Deployment", limit: 100) { ... } B) deploymentEvents(first: 100) { ... } C) nrql(query: "SELECT * FROM Deployment LIMIT 100") { ... } D) events(filter: {type: "Deployment"}, limit: 100) { ... } Answer: A Explanation: The events field can be filtered by type and limited, allowing retrieval of specific event data. Question 29. Which of the following best describes the “T‑bone” layout? A) A single column with a header B) Two sidebars flanking a central column, resembling a T shape when collapsed C) A top navigation bar with a content area below D) A grid of equal‑sized cards Answer: C
Explanation: The T‑bone layout consists of a top bar (the “stem”) and a main content region (the “cross”). Question 30. What is the purpose of the nr1 nerdpack:publish command? A) To upload a custom visualization to the catalog B) To push a new version of a Nerdpack to the New Relic One platform for consumption C) To create a backup of the Nerdpack source code D) To generate documentation for the Nerdpack Answer: B Explanation: nr1 nerdpack:publish publishes the packaged Nerdpack to the New Relic account, making it available for installation. Question 31. Which file typically contains the list of external npm dependencies for a Nerdpack? A) dependencies.yml B) package.json C) manifest.yml D) requirements.txt Answer: B Explanation: package.json is the standard Node.js manifest for declaring dependencies. Question 32. When a Nerdlet needs to navigate to another route within the same Nerdpack, which API call is used? A) window.location.href = '/new-route' B) NerdletNavigation.navigate('/new-route') C) nr1 navigation:go /new-route D) router.push('/new-route') (React Router)
C) nr1 check D) nr1 lint Answer: B Explanation: nr1 nerdpack:validate runs checks on the manifest, dependencies, and code quality. Question 36. When integrating New Relic with a CI/CD pipeline, which step is essential to ensure the pipeline can authenticate with the New Relic API? A) Storing a valid API key as a secret environment variable B) Adding the pipeline’s IP address to a whitelist in the UI C) Using OAuth token generated per pipeline run D) No authentication is required for read‑only operations Answer: A Explanation: The New Relic CLI and NerdGraph require an API key; storing it securely as a secret enables authenticated calls. Question 37. Which of the following is a benefit of using the New Relic Terraform Provider for dashboard management? A) Dashboards are automatically updated in real time without redeployment B) Dashboard definitions can be version‑controlled and reproduced across environments C) Dashboards can be edited directly in the Terraform console UI D) Terraform automatically optimizes dashboard layout for mobile devices Answer: B Explanation: Managing dashboards as Terraform code allows version control, reproducibility, and automated provisioning. Question 38. In the context of New Relic alerts, a “signal” refers to:
A) The webhook URL to which alerts are sent B) The raw metric or event data evaluated by a condition C) The visual icon displayed on the dashboard D) The API endpoint used to fetch alert data Answer: B Explanation: A signal is the underlying data (e.g., metric value) that an alert condition evaluates. Question 39. Which of the following is true about the nr1 catalog:search command? A) It searches the local file system for Nerdpacks B) It queries the New Relic One Catalog for publicly available Nerdpacks and visualizations C) It only returns results for visualizations, not Nerdpacks D) It requires a paid New Relic subscription to function Answer: B Explanation: nr1 catalog:search looks up publicly shared assets in the New Relic One Catalog. Question 40. What is the primary advantage of using a “grid” layout for a New Relic One application? A) It automatically adapts to any screen size without configuration B) It provides a flexible, column‑based system for arranging multiple components side‑by‑side C) It enforces a strict two‑column design for consistency D) It eliminates the need for any component wrappers Answer: B Explanation: The grid layout lets developers define rows and columns, enabling complex, responsive UI arrangements.
Explanation: New Relic Synthetics runs scripted monitors to simulate user interactions and check availability. Question 44. To retrieve the current user’s account ID via NerdGraph, which field should you query? A) actor.account.id B) viewer.accountId C) account.id D) user.account.id Answer: B Explanation: The viewer object contains context about the authenticated user, including accountId. Question 45. Which command is used to create a new custom visualization project skeleton? A) nr1 create:visualization B: nr1 viz:create C) nr1 new:visualization D) nr1 visualization:new Answer: A Explanation: nr1 create:visualization scaffolds the required files for a custom visualization. Question 46. When a Nerdlet needs to store temporary user preferences client‑side, which storage mechanism is recommended? A) LocalStorage via the browser’s Web Storage API B) Server‑side database via a custom API call C) New Relic’s global state service (non‑existent) D) Cookies with a 1‑year expiration
Answer: A Explanation: For client‑side, non‑persistent preferences, LocalStorage is simple and supported within Nerdlets. Question 47. Which of the following is NOT a valid deployment target for New Relic One applications? A) Public catalog for all accounts B) Private catalog limited to a single account C) Direct upload to a Kubernetes pod D) Scoped to a specific user group within an account Answer: C Explanation: Deployments are performed via the New Relic platform, not by uploading to Kubernetes pods directly. Question 48. The nr1 health:check command is used to: A) Verify the health of New Relic services in the cloud B) Run unit tests for a Nerdpack’s components C) Perform a quick sanity check of the local development environment and credentials D) Monitor the CPU usage of the CLI process Answer: C Explanation: nr1 health:check ensures the CLI can communicate with New Relic and that authentication is valid. Question 49. Which of the following is a best practice when versioning a Nerdpack? A) Increment the major version for every minor UI change B) Use semantic versioning (MAJOR.MINOR.PATCH) and only bump PATCH for bug fixes
A) LineChart from the SDK B) MetricTable C) BarGraph D) PieChart Answer: A Explanation: LineChart (or AreaChart) is designed for visualizing time‑series metric data. Question 53. To restrict a Nerdpack’s API access to read‑only operations, which permission should be omitted? A) view_entities B) edit_entities C) read_data D) manage_account Answer: B Explanation: edit_entities grants write capabilities; omitting it ensures the pack can only read data. Question 54. Which of the following describes the purpose of the nr1 nerdpack:install command? A) Deploys the Nerdpack to the New Relic platform for all users B) Installs a Nerdpack into a local development environment for testing C) Publishes the Nerdpack to the public catalog D) Generates a zip archive of the Nerdpack source code Answer: B Explanation: nr1 nerdpack:install installs the pack locally so developers can preview it in a sandbox. Question 55. When a custom visualization receives data via the data prop, what type of structure is typically provided?
A) A raw CSV string B) An array of objects where each object represents a data point C) A binary blob D) A DOM element reference Answer: B Explanation: Visualizations receive structured data (usually an array of records) that they can iterate over. Question 56. Which New Relic product provides distributed tracing across microservices? A) New Relic APM B) New Relic Logs C) New Relic Browser D) New Relic Alerts Answer: A Explanation: APM includes distributed tracing capabilities to follow requests across services. Question 57. To add a new route to a Nerdpack’s manifest.yml, which section must be edited? A) routes: B) navigation: C) components: D) permissions: Answer: A Explanation: The routes section defines URL paths and the components they render. Question 58. Which of the following is a valid way to pass a query parameter to a Nerdlet via URL?