Interview practice plan

AE

Infrastructure Engineer II

American Express · Bengaluru

DevOps & CloudMid level25 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.

AgileShell scriptingPythonCI/CDDockerKubernetesLinuxAnsibleTerraformSQLMySQLAWSAzureGCPObservabilityElasticsearch

Also named in the description, not covered below: Linux, AWS, Azure, GCP, Observability, Elasticsearch. 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 25 questions practised

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

01Required skill0/3

CI/CD & IaC

This role asks for CI/CD, Ansible and Terraform. These CI/CD & IaC questions cover the ground they share.

  • How do you manage infrastructure as code safely across environments and a team?

    What good looks like

    Remote state with locking, reusable modules, plans reviewed in pull requests, separate state per environment, drift detection and least-privilege CI credentials.

  • The build takes 40 minutes. How do you bring it down?

    What good looks like

    Measure where time goes, cache dependencies, parallelise and shard tests, only build what changed, and fix or quarantine the slowest tests.

  • How should secrets be handled in a CI/CD pipeline?

    What good looks like

    A secrets manager or the platform's secret store, short-lived federated credentials, masking in logs, and never committing secrets to the repo.

02Required skill0/3

Agile

This role asks for Agile.

  • How do you run sprint planning so the team commits to something realistic?

    What good looks like

    A refined backlog, capacity based on real availability, historical velocity as a guide, a clear sprint goal, and room for unplanned work.

  • The team carries over stories every sprint. What do you do?

    What good looks like

    Look at story size, work in progress, interruptions and dependencies, agree retro actions with owners, and track flow metrics such as cycle time.

  • Scrum or Kanban: when would you use each?

    What good looks like

    Scrum for planned increments with a stable team; Kanban for continuous, interrupt-driven work such as support. Mention WIP limits.

03Required skill0/3

Python

This role asks for Python.

  • Explain the GIL and how it affects threading, multiprocessing and asyncio.

    What good looks like

    Threads help I/O-bound work but not CPU-bound Python code; multiprocessing sidesteps the GIL at a memory and IPC cost; asyncio suits many concurrent I/O tasks.

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

04Required skill0/3

Docker

This role asks for Docker.

  • How do you make a Docker image smaller and faster to build?

    What good looks like

    Multi-stage builds, slim or distroless bases, ordering instructions to maximise cache hits, and a .dockerignore.

  • Why should containers not run as root, and how do you avoid it?

    What good looks like

    A container escape as root is far more damaging; create a non-root user in the image, drop capabilities and use a read-only filesystem where possible.

  • How does networking work between two containers, and between a container and the host?

    What good looks like

    Bridge networks with built-in DNS by container name, published ports to the host, and how this differs from host networking.

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.

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

  • How do you achieve zero-downtime deployments and safe rollbacks on Kubernetes?

    What good looks like

    Rolling update settings, readiness probes, PodDisruptionBudgets, graceful shutdown with preStop hooks, and canary releases with automated rollback.

06Required skill0/3

SQL

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

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

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

07Fundamentals0/3

Core programming

This role asks for Shell scripting. 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.

  • How would you find and fix a memory leak in a long-running service?

    What good looks like

    Confirm with memory metrics over time, take and compare heap snapshots, look for unbounded caches, listeners and global collections, then add a regression check.

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

  • Describe the most complex technical or analytical problem you have solved.

    What good looks like

    Explain why it was hard, the options you considered, how you de-risked the chosen approach, and what you would do differently now.

  • 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: American Express

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

75

open roles

75

added in 30 days

6

in DevOps & Cloud

Banking & Financial ServicesGCCGreat Place to Work

Hiring most for

  • Other33
  • Finance & Legal24
  • DevOps & Cloud6
  • Engineering4

Cities

Gurugram · 60Bengaluru · 14
See all 75 roles at American Express →

Read before the interview

Questions to ask them

  • ›There are several open DevOps & Cloud roles at American Express right now. How is the team growing, and where does this role fit?
  • ›The company hires in Gurugram, Bengaluru. How do teams across locations work together day to day?
  • ›How does the team use Agile and Shell scripting 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: Infrastructure Engineer II at American Express | LYDJ