Interview practice plan

C

Full Stack Engineer – Ruby on Rails, React.js from 4+ years

Cisco · Bengaluru

EngineeringMid level28 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.

RubyReactSREPythonTypeScriptPostgreSQLJavaScriptSQLMicroservicesNetwork securityDockerKubernetesObservabilityCI/CD

Also named in the description, not covered below: SRE, Docker, Kubernetes, Observability, CI/CD. 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 28 questions practised

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

01Required 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.

  • How would you build and test a form with validation and async submission?

    What good looks like

    Schema-based validation, clear pending and error states, preventing double submits, and tests that drive the form like a user would.

02Required 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.

  • What goes wrong with def add(item, items=[])?

    What good looks like

    Default arguments are evaluated once, so the list is shared across calls. Use None as the default and create the list inside.

  • A Python data-processing script takes hours. How do you speed it up?

    What good looks like

    Profile first, replace row-by-row loops with vectorised NumPy or pandas operations, process in chunks, then consider multiprocessing or a distributed engine.

03Required skill0/3

TypeScript

This role asks for TypeScript.

  • What is the difference between type and interface in TypeScript, and when does it matter?

    What good looks like

    Interfaces can be merged and extended; type aliases handle unions, mapped and conditional types. Pick one convention and be consistent.

  • Explain generics with constraints. Write a typed function that picks a set of keys from an object.

    What good looks like

    Use <T, K extends keyof T> returning Pick<T, K>, and explain how the constraint keeps callers from passing keys that do not exist.

  • When is using any or a type assertion acceptable, and how do you keep a large codebase strictly typed?

    What good looks like

    Prefer unknown plus narrowing, enable strict mode, validate external data at the boundary, and tighten gradually with lint rules.

04Required skill0/3

SQL

This role asks for PostgreSQL and SQL. These SQL questions cover the ground they share.

  • Explain INNER, LEFT and FULL OUTER joins. When does a LEFT JOIN accidentally behave like an INNER JOIN?

    What good looks like

    Filtering the right-hand table in WHERE removes the NULL rows; put that condition in the ON clause instead.

  • Write a query that returns the second-highest salary in each department.

    What good looks like

    Use DENSE_RANK() over a partition by department, and say how you treat ties, NULLs and departments with a single employee.

  • 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

JavaScript

This role asks for JavaScript.

  • What is a closure? Give a practical use and a bug closures can cause.

    What good looks like

    A function remembering its lexical scope; uses include private state and factories; classic bug is var in a loop or a stale value captured in a callback.

  • 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.

06Required skill0/3

Cybersecurity

This role asks for Network security. These Cybersecurity questions cover the ground it builds on.

  • Which OWASP Top 10 risks do you consider most critical for a web app, and how do you prevent them?

    What good looks like

    Pick a few (broken access control, injection, misconfiguration) and give concrete preventions such as server-side authorisation checks and parameterised queries.

  • What is the difference between authentication and authorisation, and where do OAuth 2.0 and OpenID Connect fit?

    What good looks like

    Authentication proves identity, authorisation decides access; OAuth delegates access with tokens, OIDC adds an identity layer on top.

  • How would you build a SIEM detection for brute-force or impossible-travel logins?

    What good looks like

    Required log sources, normalisation, thresholds and baselines, tuning to cut false positives, and a runbook for the analyst who receives the alert.

07Fundamentals0/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.

  • 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.

  • Compare the time complexity of lookups and inserts in arrays, hash maps and balanced trees. When does the difference matter in practice?

    What good looks like

    Know the Big-O, but also mention ordering needs, worst cases, memory overhead and cache locality, with a real example where it changed a design.

08Design round0/3

System design

This role asks for Microservices, so expect an architecture round. State requirements and numbers first, then trade-offs.

  • Design a URL shortener that handles 100 million redirects a day.

    What good looks like

    Clarify the read/write ratio, design ID generation, storage and caching, then cover hot keys, analytics and expiry. Back-of-envelope numbers earn credit.

  • Design a rate limiter for a public API.

    What good looks like

    Compare token bucket, fixed and sliding windows; decide where it lives (gateway or service), how counters are shared across nodes, and how clients learn they are limited.

  • Design the REST API for a multi-tenant SaaS product.

    What good looks like

    Resource modelling, versioning, pagination, authentication and tenant isolation, idempotent writes, and a consistent error contract.

09Every 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.

  • Describe a piece of feedback that changed how you work.

    What good looks like

    State the feedback, your honest first reaction and the concrete behaviour you changed. Close with evidence that the change stuck.

  • Tell me about a mistake you made at work and what happened next.

    What good looks like

    Own it without blaming others, explain how you contained the impact, and what you changed so it would not happen again.

  • Walk me through a project you are proud of and your specific role in it.

    What good looks like

    Separate "we" from "I". Cover the problem, the decisions you personally made, the trade-offs, and a measurable result.

  • Tell me about a time you disagreed with a teammate or your manager. How did it resolve?

    What good looks like

    Show that you disagreed on substance with evidence, listened properly, and committed once a decision was made, even if it went the other way.

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 Ruby and React 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/9 done

Saved in this browser only.

Interview prep: Full Stack Engineer – Ruby on Rails, React.js from 4+ years at Cisco | LYDJ