Test
Please answer the questions below to complete the test.
Question 1
According to the installation steps, which default port is used to access the Prometheus web interface?
Select one answer
3000
8080
9090
22
Question 2
Why is a dedicated user created for Prometheus during the setup process?
Select one answer
To give the service root privileges
It is a security best practice to run services with a dedicated user
Because Ubuntu requires a new user for every download
To allow external remote access by default
Question 3
What is the necessary step to visualize Prometheus metrics within Grafana?
Select one answer
Install the Prometheus plugin via the command line
Add Prometheus as a Data Source in the Grafana UI
Edit the prometheus.yml file to point to Grafana
Restart the Ubuntu host machine
Question 4
Which file must be created to allow Prometheus to run as a background service managed by the system?
Select one answer
A systemd service file (/etc/systemd/system/prometheus.service)
A cron job script
A Docker compose file
A bash executable in the bin folder
Question 5
Which simple query is suggested to check the up/down status of Prometheus targets?
Select one answer
node_cpu_seconds_total
select * from status
ping prometheus
up{job="prometheus"}
close