Interview practice plan

C

Software Engineer

Cisco · Bengaluru

EngineeringMid level22 practice questions

Practice content written by LYDJ for interview preparation. These are common questions for this kind of role, not this employer's actual interview questions.

What this role asks for

Skills we found in the job description. The plan below is built around them.

SRERubyPythonReactJavaScriptPostgreSQLKubernetes

Also named in the description, not covered below: SRE. Review these on your own.

Sign in to see your gap areas first. We compare this role with the skills on your profile.

0 of 22 questions practised

Answer each one out loud, then tick it. Progress is saved in this browser only.

01Required skill0/3

Python

This role asks for Python.

  • What are generators, and when would you use one instead of building a list?

    What good looks like

    Lazy evaluation with yield, constant memory for large or infinite streams, and pipelines of generators; note they can only be iterated once.

  • Explain decorators. Write one that retries a function with exponential backoff.

    What good looks like

    A function that wraps another, functools.wraps to keep metadata, configurable retries and delays, and only retrying exceptions that are actually transient.

  • How do you structure a Python codebase so a team can work on it safely?

    What good looks like

    Locked dependencies, pyproject-based packaging, type hints checked in CI, pytest with fixtures, linting and formatting, and clear module boundaries.

02Required skill0/3

React

This role asks for React.

  • What are the rules of hooks, and why do they exist?

    What good looks like

    Call hooks at the top level and only from components or custom hooks, because React tracks hook state by call order between renders.

  • How do you decide between local state, context and a global store in a large app?

    What good looks like

    Keep state as local as possible, use context for low-frequency shared values, a store for complex shared client state, and a data-fetching cache for server state.

  • A list of 10,000 rows is slow to render and scroll. How do you fix it?

    What good looks like

    Measure with the Profiler, virtualise the list, use stable keys and memoised rows, and consider pagination or server-side filtering.

03Required skill0/3

JavaScript

This role asks for JavaScript.

  • Explain the event loop. In what order do setTimeout, a resolved Promise and code after await run?

    What good looks like

    Call stack, microtask queue (promises) drained before the next macrotask (timers), and how await splits a function into a microtask continuation.

  • Implement debounce, and explain when you would use debounce versus throttle.

    What good looks like

    Debounce waits for a pause (search input), throttle limits the rate (scroll handlers). Handle this, arguments and clearing the timer.

  • How do you handle errors in async code? What happens to an unhandled promise rejection?

    What good looks like

    try/catch around await, .catch on chains, Promise.allSettled when partial failure is fine, and a global handler for logging unhandled rejections.

04Required skill0/3

SQL

This role asks for PostgreSQL. These SQL questions cover the ground it builds on.

  • Find users who were active on at least three consecutive days.

    What good looks like

    A gaps-and-islands pattern: subtract ROW_NUMBER() from the activity date, group by user and that difference, and count.

  • What is an index, how does a B-tree index speed up a query, and when does adding an index hurt?

    What good looks like

    Sorted structure enabling seeks instead of scans; costs on writes and storage; low-selectivity columns and functions on columns can stop it being used.

  • A query that used to take 2 seconds now takes 2 minutes. How do you debug it?

    What good looks like

    Read the execution plan, check stale statistics, missing or unused indexes, data growth and skew, parameter-sensitive plans, and locking.

05Required skill0/3

Kubernetes

This role asks for Kubernetes.

  • Explain Pods, Deployments, Services and Ingress. How does a request reach a container?

    What good looks like

    Ingress routes to a Service, which load-balances across Pod endpoints selected by labels; Deployments manage ReplicaSets of Pods.

  • A pod is stuck in CrashLoopBackOff. Walk me through debugging it.

    What good looks like

    kubectl describe and logs --previous, check exit codes, OOMKilled, failing probes, missing config or secrets, and the image entrypoint.

  • What are resource requests and limits, and what happens when a container exceeds them?

    What good looks like

    Scheduling uses requests; CPU is throttled at the limit while memory over the limit is OOMKilled; requests and limits set the QoS class.

06Fundamentals0/3

Core programming

This role asks for Ruby. We do not have questions specific to it yet, so practise these fundamentals and answer them in that language.

  • Explain the difference between a process and a thread, and when you would use each.

    What good looks like

    Memory isolation versus shared memory, cost of creation and context switches, and the synchronisation problems that sharing introduces.

  • Given an array of integers and a target, return the indices of two numbers that add up to the target. Then improve the complexity.

    What good looks like

    Start with the O(n^2) brute force, move to a single pass with a hash map for O(n), and talk through duplicates and the no-answer case before coding.

  • What makes code testable? Show how you would refactor a function to make it easier to test.

    What good looks like

    Separate pure logic from I/O, inject dependencies instead of constructing them inside, and keep functions small with clear inputs and outputs.

07Every loop0/4

Behavioural

Every interview loop has a behavioural round. At mid level, expect questions on delivering independently, handling ambiguity and working through disagreement. Use the STAR structure.

  • Tell me about a time you had to learn something new quickly to deliver on a deadline.

    What good looks like

    Name the specific gap, show how you learned (sources, people, practice) and quantify what you shipped. Interviewers want a repeatable learning method, not heroics.

  • Describe a time you had several urgent priorities at once. How did you decide what to do first?

    What good looks like

    Explain your criteria (impact, deadlines, dependencies), how you communicated the trade-offs, and what you deliberately dropped or delayed.

  • Why do you want this role, and why now?

    What good looks like

    Connect two or three specific requirements of the role to your experience and to a direction you are deliberately moving in. Generic praise of the company scores poorly.

  • Tell me about a time you worked closely with a team in another time zone or culture.

    What good looks like

    Mention concrete practices (async updates, overlap hours, written decisions) and a moment where a misunderstanding was caught and fixed.

Company research brief: Cisco

From the roles we track on LYDJ, refreshed daily from the official careers page.

120

open roles

90

added in 30 days

71

in Engineering

Product & SoftwareGCCGreat Place to Work

Hiring most for

  • Engineering71
  • Other11
  • Data & AI10
  • QA & Testing10

Cities

Bengaluru · 116Hyderabad · 2Chennai · 1Pune · 1
See all 120 roles at Cisco →

Read before the interview

Questions to ask them

  • ›There are several open Engineering roles at Cisco right now. How is the team growing, and where does this role fit?
  • ›The company hires in Bengaluru, Hyderabad, Chennai. How do teams across locations work together day to day?
  • ›How does the team use SRE and Ruby today, and what would you like to change?
  • ›What does success look like in this role after six months?
  • ›What is the biggest challenge the team is facing this year?

Preparation checklist

0/8 done

Saved in this browser only.

Interview prep: Software Engineer at Cisco | LYDJ