Challenge - 5 Problems
Grafana Visualization Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Grafana Pod Status Check
You deployed Grafana on Kubernetes using a Helm chart. What is the output of the command
kubectl get pods -l app.kubernetes.io/name=grafana if the pod is running correctly?Kubernetes
kubectl get pods -l app.kubernetes.io/name=grafanaAttempts:
2 left
💡 Hint
Look for the pod with label app.kubernetes.io/name=grafana and check its STATUS column.
✗ Incorrect
A running Grafana pod will show STATUS as 'Running' and READY as '1/1'. Other statuses indicate issues or absence.
❓ Configuration
intermediate2:00remaining
Configuring Grafana Data Source
Which YAML snippet correctly configures a Prometheus data source for Grafana in a Kubernetes ConfigMap?
Attempts:
2 left
💡 Hint
Check the apiVersion, URL scheme, access mode, and default flag for Grafana data sources.
✗ Incorrect
Grafana expects apiVersion 1 for datasources in ConfigMap, HTTP URL for Prometheus, access as proxy, and isDefault true to set it as default.
🔀 Workflow
advanced2:30remaining
Steps to Enable Persistent Storage for Grafana
What is the correct order of steps to enable persistent storage for Grafana in Kubernetes using a PersistentVolumeClaim (PVC)?
Attempts:
2 left
💡 Hint
Think about defining storage first, then requesting it, applying configs, and finally using it in deployment.
✗ Incorrect
First create PV, then PVC to request storage, apply both to cluster, then update deployment to use PVC mount.
❓ Troubleshoot
advanced2:00remaining
Grafana Dashboard Not Loading
You installed Grafana on Kubernetes, but the dashboard page shows a 503 Service Unavailable error. Which is the most likely cause?
Attempts:
2 left
💡 Hint
Consider how you access Grafana service and its exposure type in Kubernetes.
✗ Incorrect
A 503 error often means the service is unreachable. If Grafana service is ClusterIP, it is only accessible inside the cluster unless port forwarding or ingress is configured.
✅ Best Practice
expert3:00remaining
Securing Grafana Access in Kubernetes
Which approach is the best practice to secure Grafana access in a Kubernetes cluster?
Attempts:
2 left
💡 Hint
Think about encryption, authentication, and controlled external access.
✗ Incorrect
Best practice is to use Ingress with TLS for encrypted access and enable strong authentication methods like OAuth or LDAP.