










































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































































Question 1. Which component is responsible for enrolling Elastic Agents on a host and providing them with configuration policies? A) Kibana Dashboard B) Fleet Server C) Logstash Pipeline D) Beats Central Management Answer: B Explanation: Fleet Server acts as the central point for enrolling Elastic Agents, distributing Agent Policies, and managing integrations at scale. Question 2. When installing Elastic Agent on a Linux host using the tar.gz archive, which command sequence correctly extracts and runs the installer? A) tar - xvf elastic-agent.tar.gz && ./elastic-agent install B) unzip elastic-agent.zip && ./elastic-agent start C) rpm - ivh elastic-agent.rpm && service elastic-agent start D) dpkg - i elastic-agent.deb && systemctl enable elastic-agent Answer: A Explanation: The tar.gz archive is extracted with tar - xvf, and the install sub‑command registers the agent with Fleet. Question 3. In Fleet, what is the purpose of an “Agent Policy”? A) To define the network topology of the Elastic Stack B) To specify which integrations and settings are applied to enrolled agents C) To schedule periodic snapshots of indices D) To configure Kibana visualizations Answer: B Explanation: An Agent Policy bundles integrations, module configurations, and runtime settings that are pushed to agents.
Question 4. Which integration would you enable to collect MySQL query performance metrics? A) Nginx integration B) System integration C) MySQL integration D) Elasticsearch integration Answer: C Explanation: The MySQL integration contains Metricbeat modules that query MySQL status variables and performance metrics. Question 5. When configuring Filebeat to harvest logs from a custom application, which setting specifies the path to the log files? A) paths: under the filebeat.inputs section B) output.elasticsearch: C) setup.kibana: D) processors: Answer: A Explanation: The paths array defines the file locations that Filebeat should monitor for new log entries. Question 6. Which Beat module would you enable to automatically collect system CPU, memory, and disk metrics? A) nginx module B) system module C) auditd module D) docker module Answer: B Explanation: The system module in Metricbeat provides CPU, memory, filesystem, and process metrics out of the box. Question 7. How does Metricbeat collect Docker container metrics by default?
A) Use the drop processor B) Use the fail processor with ignore_failure: true C) Use the pipeline processor to route to a dead‑letter index D) Use the script processor to delete the _source field Answer: B Explanation: Setting ignore_failure: true on the fail processor allows the pipeline to continue while marking the error, preventing document loss. Question 11. What is the primary purpose of the Heartbeat monitor type “TCP”? A) To send ICMP echo requests B) To perform HTTP GET requests C) To establish a TCP connection to a port and verify it is open D) To monitor DNS resolution latency Answer: C Explanation: The TCP monitor attempts to open a TCP socket to the specified host and port, confirming service availability. Question 12. Which Heartbeat monitor configuration is required to validate an HTTPS endpoint with a self‑signed certificate? A) Set ssl.verification_mode: none B) Set ssl.certificate_authorities to the CA bundle C) Set tls.enabled: false D) Use an icmp monitor instead Answer: A Explanation: ssl.verification_mode: none disables certificate validation, allowing Heartbeat to accept self‑signed certificates. Question 13. In the Kibana Uptime app, which view provides a heatmap of response time trends over the last 24 hours?
A) Overview tab B) Timeline tab C) Summary tab D) Alerts tab Answer: B Explanation: The Timeline view displays a heatmap visualizing response time variations across the selected time window. Question 14. How can you correlate Uptime failures with Log events in Kibana? A) By creating a watch that triggers on both indices B) By adding a “related logs” panel to the Uptime dashboard using a saved search C) By enabling “Log aggregation” in Heartbeat settings D) By exporting Uptime data to CSV and importing into the Logs app Answer: B Explanation: Adding a related logs panel (using a saved search filtered by the same service tag) allows visual correlation of uptime incidents with log entries. Question 15. Which component of the Elastic APM stack receives trace data from instrumented services? A) Kibana B) Elasticsearch C) APM Server D) Logstash Answer: C Explanation: APM Server ingests trace and metric data sent by APM agents and forwards it to Elasticsearch. Question 16. When configuring an APM integration in Fleet, which secret is required for the Elastic Agent to authenticate with the APM Server?
B) Heat map C) Histogram D) Tag cloud Answer: C Explanation: A histogram shows the frequency of response time ranges, making it ideal for latency distribution analysis. Question 20. What does the “Service map” in APM illustrate? A) Geographic locations of users B) Dependency graph of services and their communication latency C) Disk usage per service container D) Number of log entries per service Answer: B Explanation: The Service map visualizes the topology of services, their upstream/downstream relationships, and latency between them. Question 21. Which ingest processor would you use to enrich an IP address field with geolocation data? A) geoip B) convert C) rename D) script Answer: A Explanation: The geoip processor looks up an IP address in a GeoIP database and adds location fields (city, country, coordinates). Question 22. How does the dot_expander processor affect field names that contain dots? A) It removes the dots from field names B) It expands dotted field names into nested objects
C) It converts dots to underscores D) It creates a duplicate field with the dot replaced by a dash Answer: B Explanation: dot_expander interprets dotted field names as hierarchical objects, creating nested JSON structures. Question 23. Which API would you use to modify existing documents in bulk based on a query? A) Reindex API B) Update By Query API C) Bulk API D) Delete By Query API Answer: B Explanation: The Update By Query API runs a query, applies a script or partial document update to each matching document, and writes the changes back. Question 24. When reindexing data from an old index to a new index with a different mapping, which parameter ensures the original documents are not deleted? A) conflicts=proceed B) refresh=true C) wait_for_completion=false D) op_type=create Answer: A Explanation: conflicts=proceed tells the Reindex API to ignore version conflicts, leaving the source index untouched. Question 25. Which machine‑learning job type is designed to detect anomalies in time‑series metric data? A) Classification job B) Regression job
C) Cold D) Frozen Answer: C Explanation: The Cold phase moves indices to cheaper, slower storage and often sets them to read‑only. Question 29. What is the primary benefit of using a Data Stream for metric data instead of a regular index? Answer: C Explanation: Data streams provide a seamless time‑based view, automatically handling rollover and retention without manual index management. Question 30. Which Kibana Lens feature allows you to combine log count and average response time on a single visualization? A) Multi‑metric chart B) Mixed‑type chart C) Pivot table D) Map visualization Answer: B Explanation: Mixed‑type charts let you plot different aggregations (e.g., count and average) together using separate axes. Question 31. When configuring Elastic Agent on Windows, which file contains the enrollment token needed for Fleet enrollment? A) elastic-agent.yml in C:\Program Files\Elastic\Agent\ B) enrollment_token.txt in the installation directory C) fleet.yml under C:\ProgramData\Elastic\Agent\ D) The token is passed as a command‑line argument during install Answer: D Explanation: On Windows, the enrollment token is supplied via the --enrollment-token flag during the elastic-agent install command.
Question 32. Which Beat should you use if you need to monitor the availability of a TCP service and also record the round‑trip time? A) Filebeat B) Metricbeat C) Heartbeat D) Auditbeat Answer: C Explanation: Heartbeat includes TCP monitors that can measure connection latency (round‑trip time). Question 33. In the System module of Metricbeat, which metricset provides information about the host’s CPU usage? A) cpu metricset B) process metricset C) filesystem metricset D) network metricset Answer: A Explanation: The cpu metricset collects per‑core and aggregate CPU usage statistics. Question 34. Which setting in a Filebeat module configuration enables the collection of stack monitoring metrics from the Elastic Stack itself? A) setup.kibana B) monitoring.enabled: true C) output.elasticsearch D) pipeline Answer: B Explanation: Setting monitoring.enabled: true tells the module to fetch metrics from the Elastic Stack components.
A) DNS resolution time only B) Time to establish TCP connection C) Total time from request start to response receipt D) Time spent in the Heartbeat process queue Answer: C Explanation: Latency measures the full round‑trip duration of the HTTP request, including DNS, TCP handshake, and response processing. Question 39. Which APM transaction type is automatically assigned to a Node.js Express request? A) request B) http C) background D) custom Answer: B Explanation: The Node.js agent classifies incoming Express calls as http transactions. Question 40. How can you reduce the amount of data sent from an APM agent to the server without losing error information? A) Increase the sample_rate to 1. B) Disable capture_body C) Enable transaction_max_spans to a high number D) Turn off stack_trace_limit Answer: B Explanation: Disabling capture_body stops sending request bodies, reducing payload size while still transmitting error details. Question 41. Which ingest pipeline processor would you use to add a static field indicating the source environment (e.g., "production")? A) set
B) rename C) grok D) json Answer: A Explanation: The set processor can assign a constant value to a field for all processed documents. Question 42. In the Kibana Metrics Explorer, what does the “Compare” feature allow you to do? A) Overlay two different metric series on the same chart B) Show the difference between two time ranges side by side C) Export metrics to CSV for external analysis D) Create alerts based on metric thresholds Answer: B Explanation: The Compare option displays two time intervals (e.g., this week vs last week) to see relative changes. Question 43. Which of the following is NOT a valid source type for a Log threshold alert? A) Elasticsearch query B) Saved search C) Kibana visualization D) Log entry count from a specific index pattern Answer: C Explanation: Alerts are based on queries or saved searches; visualizations are not directly used as alert sources. Question 44. When configuring a custom log integration that uses a specific ingest pipeline, which field must be added to the Beat’s configuration? A) pipeline.id B) output.pipeline C) setup.pipeline
D) Filebeat integration Answer: B Explanation: The Nginx integration bundles a Filebeat module pre‑configured to harvest Nginx access and error logs. Question 48. What is the default sampling rate for transactions in the Elastic APM Java agent? A) 0.1 (10 %) B) 0.5 (50 %) C) 1.0 (100 %) D) 0.01 (1 %) Answer: C Explanation: The Java agent records all transactions by default; sampling can be configured manually. Question 49. Which Beats component is responsible for periodically sending internal monitoring data (e.g., queue size, memory usage) to Elasticsearch? A) Beat monitoring endpoint B) Elastic Agent’s internal metrics module C) Logstash monitoring plugin D) Filebeat autodetect module Answer: B Explanation: Elastic Agent includes a monitoring module that emits its own health and performance metrics to the monitoring indices. Question 50. In a Kibana dashboard, which visualization type best displays the number of unique users per hour over the last 24 hours? A) Area chart B) Metric C) Line chart with Unique Count aggregation D) Pie chart
Answer: C Explanation: A line chart with a Unique Count aggregation on the user identifier field shows distinct users per hour. Question 51. Which Heartbeat monitor type can be used to verify the validity of an SSL certificate’s expiration date? A) ICMP monitor B) TCP monitor with TLS C) HTTP monitor with ssl.certificate check D) Ping monitor with tls flag Answer: C Explanation: The HTTP monitor can be configured with ssl.certificate parameters to validate certificate expiry. Question 52. When using the geoip processor, which field must contain the IP address to be enriched? A) source.ip B) client.ip C) Any field specified in field parameter D) @timestamp Answer: C Explanation: The geoip processor’s field parameter points to the field containing the IP address; it can be any field name. Question 53. Which of the following is a required step to enable RUM data collection for a web application? A) Install the APM Server on the same host as the web server B) Add the RUM JavaScript snippet to the web pages and configure the service.name and environment variables C) Enable the rum.enabled: true flag in Elasticsearch.yml
Explanation: The log metricset within the system module of Metricbeat tracks the rate of log line ingestion. Question 57. What is the effect of setting output.elasticsearch.pipeline in a Beat’s configuration? A) It selects the ingest pipeline used for all outgoing events B) It defines the pipeline for internal Beat monitoring data only C) It disables the default pipeline and sends raw JSON D) It creates a new pipeline on the Elasticsearch cluster automatically Answer: A Explanation: The output.elasticsearch.pipeline option tells the Beat to route every event through the specified ingest pipeline. Question 58. Which of the following is a valid way to limit the amount of data stored by an Elastic Agent on a host? A) Set fleet.agent.max_memory in the Agent Policy B) Configure a log rotation policy in Kibana C) Use an ILM policy that moves indices to the cold tier after 7 days D) Enable data_streams.enabled: false in elasticsearch.yml Answer: C Explanation: ILM policies manage index lifecycle, moving older data to cheaper storage tiers, thereby limiting storage consumption. Question 59. In the APM Service Overview, what does the “Error Rate” metric represent? A) The percentage of failed HTTP status codes (5xx) over total requests B) The ratio of transactions with at least one captured exception to total transactions C) The number of spans that timed out D) The count of APM Server rejections Answer: B
Explanation: Error Rate is calculated as the proportion of transactions that contain at least one error (exception or failure) out of all recorded transactions. Question 60. Which processor can be used to split a single string field containing comma‑separated values into an array? A) split B) dissect C) grok D) script with painless Answer: D Explanation: While there is no dedicated split processor, a painless script can call String.split(',') to produce an array. Question 61. Which Heartbeat monitor type is most appropriate for checking the health of a DNS server? A) ICMP monitor B) TCP monitor on port 53 C) HTTP monitor with dns scheme D) UDP monitor (not supported) Answer: B Explanation: Using a TCP monitor on port 53 verifies that the DNS service is listening; Heartbeat does not currently support UDP directly. Question 62. When using the rename processor, what happens if the target field already exists? A) The processor fails and drops the document B) The source field value overwrites the target field value C) The processor creates a duplicate field with a numeric suffix D) The processor creates a new field with a random name Answer: B