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.

  • Design a CI/CD pipeline for a service with many contributors. Which gates would you put before production?

    What good looks like

    Fast unit tests on every PR, integration and security scans, build once and promote the same artifact, staged environments, and automated rollback.

  • Blue-green, canary or rolling deployment: how do you choose?

    What good looks like

    Blast radius, rollback speed, infrastructure cost and how good your metrics are for judging a canary. Give a case for each.

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

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.

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

  • How do you make retrospectives actually lead to change?

    What good looks like

    Vary the format, focus on one or two actions with owners and dates, review last retro's actions first, and make it safe to speak honestly.

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.

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

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 liveness, readiness and startup probes differ, and how can a bad probe cause an outage?

    What good looks like

    Readiness controls traffic, liveness restarts, startup protects slow boots. A liveness probe that checks a shared dependency can restart every pod at once.

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.

  • Walk me through what happens when you type a URL into a browser and press Enter.

    What good looks like

    DNS, TCP and TLS handshakes, the HTTP request, server processing, then parsing, rendering and loading sub-resources. Depth in one area beats a shallow list.

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.

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

  • Tell me about a time a project you owned was at risk of missing its date.

    What good looks like

    Show early detection, honest escalation and the scope, sequencing or resourcing levers you pulled. Avoid stories that end with "we all worked weekends".

  • Tell me about a time you used data to change someone's mind.

    What good looks like

    Explain what the data showed, how you made it understandable for that audience, and which decision changed as a result.

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