Scenario Questions with Model Answers
Scenario 1: HDFS is 92 percent full and still growing. What do you do?
- Stabilise: find top consumers (
hdfs dfs -du -h /), clear trash and temp (/tmp, staging, old logs), stop runaway jobs - Protect: make sure NameNode and DataNodes still have headroom, avoid balancer overload, set quotas on abused directories
- Short term: move cold data to erasure coding, delete expired data with owner approval, add nodes quickly if budget exists
- Long term: capacity plan with triggers, lifecycle policies, report to management
Scenario 2: The active NameNode crashed at night. What is your response?
- Check that the standby became active (
hdfs haadmin -getAllServiceState) and jobs are running - Collect evidence: logs, GC log, thread dump if possible,
dmesg - Restart the failed NameNode so it becomes standby, verify it catches up
- Find root cause (OOM, disk, hardware), fix and write a post-incident review with preventions
Scenario 3: A user accidentally deleted /data/finance/2026.
- Do not panic and ask the user to stop further changes
- Check trash
/user/<name>/.Trash - Check snapshots:
hdfs dfs -ls /data/finance/.snapshotand copy back - If no snapshot, restore from backup via distcp
- Afterwards: enable snapshots, trash and tighter permissions
Scenario 4: Jobs suddenly 3 times slower since yesterday.
- Ask what changed (configs, patches, new jobs, data volume)
- Check NameNode RPC latency, YARN queue wait time and utilisation, network and disk metrics
- Compare per-host task times to find one bad node or rack
- Review audit log for a noisy user or job
- Roll back the last change if it correlates
Scenario 5: Security team asks, 'Who accessed customer data last month?'
Use the HDFS audit log and Ranger audit (Solr/OpenSearch) filtered by path and tag for the period, export a report grouped by user, group and action, and confirm retention covers the dates. Improve by sending audit to a SIEM and tagging PII with Atlas.
Scenario 6: Management wants to cut storage costs by 40 percent.
- Measure: data by age, owner and access frequency
- Delete expired and duplicate data
- Convert text/CSV to compressed Parquet or ORC
- Move cold data to erasure coding or cheaper storage
- Lower replication for non-critical data
- Report savings and risks
Scenario 7: A new team wants to join the cluster next week.
- Create group, queue, quotas and Ranger policies
- Provision Kerberos principals and edge access
- Share onboarding guide with limits and best practices
- Set up monitoring and chargeback tags
Command Cheat Sheet
HDFS
YARN
Security, Linux and JVM
Ports Cheat Sheet (Hadoop 3)
| Service | Ports |
|---|---|
| NameNode | 8020 (RPC), 8022 (service RPC if configured), 9870 HTTP / 9871 HTTPS |
| DataNode | 9866 data transfer, 9864 HTTP / 9865 HTTPS, 9867 IPC |
| JournalNode | 8485 RPC, 8480 HTTP / 8481 HTTPS |
| ResourceManager | 8032 client, 8030 scheduler, 8031 tracker, 8033 admin, 8088 HTTP / 8090 HTTPS |
| NodeManager | 8042 HTTP / 8044 HTTPS (RPC port is set by the NodeManager address) |
| JobHistory | 10020 RPC, 19888 HTTP |
| ZooKeeper | 2181 clients, 2888 quorum, 3888 election |
| Hive | 10000 HiveServer2, 9083 metastore |
| HBase | 16000 master, 16010 master UI, 16020 RegionServer, 16030 RS UI |
| Kafka | 9092 broker, 9093 controller (KRaft) |
| KMS | 9600 |
hdfs getconf -confKey and the documentation for your version.
Resume Tips for Administrators
- Show numbers: cluster size, TB managed, uptime, jobs per day, cost saved
- List tools: Hadoop, Ambari/Cloudera Manager, Ansible, Terraform, Kerberos, Ranger, Prometheus, Grafana, Kafka, Spark, Linux, one cloud
- Describe outcomes: reduced failover time, cut storage by 30 percent, automated patching
- Include your lab project and GitHub links
- Honestly mark what is lab experience versus production
Learning Roadmap
| Stage | Focus | Time (typical) |
|---|---|---|
| 1 | Linux administration, networking, shell and Python basics | 1 to 2 months |
| 2 | HDFS, YARN, MapReduce, installation (this course sections 1 to 4) | 1 to 2 months |
| 3 | Security, ecosystem services, monitoring (sections 5 to 7) | 2 months |
| 4 | Tuning, backup, DR, upgrades, troubleshooting (sections 8 to 10) | 2 months |
| 5 | Cloud, Kubernetes, lakehouse, Terraform, CI/CD (section 11) | 2 to 3 months |
| 6 | Labs, capstone, interviews (sections 12 and 13) | 1 month |
Career Paths
| Role | What changes |
|---|---|
| Big Data / Hadoop Administrator | Operate and secure on-premises clusters |
| Data Platform Engineer | Build self-service platforms with automation and cloud |
| Site Reliability Engineer for data | Reliability, SLOs, incident management |
| Cloud Data Engineer / Architect | Design and cost-control data estates in the cloud |
| Security Engineer (data) | Specialise in access control, encryption and compliance |
Certifications to Consider
Vendor Hadoop certifications have changed over time. Today cloud provider data engineering and architect certifications, Kubernetes (CKA), Linux (RHCSA/LFCS) and Terraform are widely valued. Check the current exam lists before you choose.
Conclusion
Use scenario answers that stabilise first, then find the cause and prevent repeats. Keep a command and port cheat sheet, build a lab-based portfolio and follow a roadmap into data platform and cloud roles.

