PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Coding & Algorithms/Google

Troubleshoot CPU, latency, and DNS issues

Last updated: Mar 29, 2026

Quick Overview

This question evaluates system troubleshooting and diagnostic competencies, including Linux CPU and IO performance analysis, network latency and packet-level investigation, and DNS resolution and query tooling knowledge.

  • Medium
  • Google
  • Coding & Algorithms
  • Software Engineer

Troubleshoot CPU, latency, and DNS issues

Company: Google

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: Medium

Interview Round: Onsite

A) A Linux server’s CPU usage suddenly spikes. What immediate checks and commands would you run (e.g., top/htop, pidstat, perf, iostat), how would you isolate the hot processes/threads, and how would you determine whether the bottleneck is user CPU, kernel CPU, or IO wait? Describe next steps and remediation. B) A service shows high latency. Explain how you would use netstat/ss, tcpdump, and traceroute/mtr to localize the issue (client, server, network), including which signals to capture (SYN backlog, retransmits, RTT, drops) and how to interpret them. C) Walk through the DNS resolution flow (stub resolver, recursive, authoritative, caching, TTLs) and explain the practical differences between dig and nslookup, including when you’d prefer each and sample commands for debugging.

Quick Answer: This question evaluates system troubleshooting and diagnostic competencies, including Linux CPU and IO performance analysis, network latency and packet-level investigation, and DNS resolution and query tooling knowledge.

Related Interview Questions

  • Compute Turnstile Crossing Times - Google (hard)
  • Simulate In-Place Cellular State Updates - Google (hard)
  • Determine Whether a Word Exists in a Graph - Google (medium)
  • Solve Shortest Paths and Rental Allocation - Google (medium)
  • Solve Two Array Optimization Problems - Google (medium)
Google logo
Google
Sep 6, 2025, 12:00 AM
Software Engineer
Onsite
Coding & Algorithms
1
0

A) A Linux server’s CPU usage suddenly spikes. What immediate checks and commands would you run (e.g., top/htop, pidstat, perf, iostat), how would you isolate the hot processes/threads, and how would you determine whether the bottleneck is user CPU, kernel CPU, or IO wait? Describe next steps and remediation. B) A service shows high latency. Explain how you would use netstat/ss, tcpdump, and traceroute/mtr to localize the issue (client, server, network), including which signals to capture (SYN backlog, retransmits, RTT, drops) and how to interpret them. C) Walk through the DNS resolution flow (stub resolver, recursive, authoritative, caching, TTLs) and explain the practical differences between dig and nslookup, including when you’d prefer each and sample commands for debugging.

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Google•More Software Engineer•Google Software Engineer•Google Coding & Algorithms•Software Engineer Coding & Algorithms
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • Careers
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.