cswork / libraryOpen practice workspace

Interview guides · Tetra Tech

Tetra Tech Software Engineer Interview Guide

Tetra Tech Software Engineer interview guide: reported rounds, questions and how candidates describe the process.

The 60-second brief

A Software Engineer at Tetra Tech occupies a unique and highly impactful niche at the intersection of advanced technology and global engineering consulting. Unlike traditional software roles at pure-play technology companies, software professionals here build, customize, and maintain solutions that directly solve complex environmental, civil, infrastructure, and resource management challenges. Your work will directly support massive real-world projects, ranging from hydraulic modeling of municipal water systems to GIS mapping, AI-driven data analysis, and structural engineering compliance tools. The impact of this position is felt across multidisciplinary teams of civil engineers, environmental scientists, and project managers.

This guide is scoped to a Software Engineer candidate at Tetra Tech.

Focus areas

  • ASME Code Usage
  • Commissioning (Engineering)
  • Testing / Test Planning

The Tetra Tech interview process

Tetra Tech candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.

Initial Screening

A 20-to-30-minute phone call or virtual one-way video assessment to discuss background and role fit.

What to demonstrate

  • A 20-to-30-minute phone call or virtual one-way video assessment to discuss background and role fit
  • Depth in ASME Code Usage

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.

Panel Interviews

One or two rounds of interviews with hiring managers, project managers, and senior engineers.

What to demonstrate

  • One or two rounds of interviews with hiring managers, project managers, and senior engineers
  • Depth in ASME Code Usage

How to prepare

  • Answer aloud and timed: How have your previous academic or professional experiences prepared you for the specific demands of this position?
  • Answer aloud and timed: What do you understand about this role, and why do you want to work at Tetra Tech?

Assessment Center (UK)

Participation in group exercises, presentations, and collaborative problem-solving tasks before individual interviews.

What to demonstrate

  • Participation in group exercises, presentations, and collaborative problem-solving tasks before individual interviews
  • Depth in ASME Code Usage

How to prepare

  • Answer aloud and timed: Discuss a time when you had to learn a new technology or domain quickly to complete a project.
  • Answer aloud and timed: How have you used specific industry standards, such as the ASME code, in your past software or engineering projects?

Where candidates lose points

Treat informal chats as formal interviews

If a recruiter, project manager, or senior engineer reaches out for an "informal phone call" or a casual chat, treat it with the same preparation and professionalism as a formal panel interview. These initial touchpoints heavily influence whether you are advanced to the next stage.

Highlight your adaptability

In consulting, project requirements can change rapidly. Share examples of times when you had to pivot, learn a new framework over a weekend, or solve an ambiguous problem with limited documentation. Show that you are comfortable with fluid project environments.

Prepare thoughtful questions for the panel

Since you will likely interview with project managers and senior engineers, ask questions that show you care about their workflow. Ask how they currently collaborate with software developers, what the biggest technical bottlenecks are in their current projects, and how they envision your role improving their team's efficiency.

Questions & practice

What are the differences between HTML, CSS, and JavaScript, and how do you ensure cross-browser compatibility?

Medium · Technical and Coding Skills

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Walk us through how you would diagnose and repair poorly written, legacy code left behind by a predecessor.

Medium · Technical and Coding Skills

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

How do you approach writing clean, maintainable code when working under tight project deadlines?

Medium · Technical and Coding Skills

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Describe a challenging bug you encountered in a previous project and the systematic approach you used to resol

Medium · Technical and Coding Skills

Describe a challenging bug you encountered in a previous project and the systematic approach you used to resolve it.

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Denormalise tenant onto revisions and backfill it live

Hard · denormalisation · online migration · backfill

resource_revision (revision_id, resource_id, version, actor_user_id, change_kind, patch, request_id, created_at) has 400M rows and no tenant column; tenant_id lives only on resource. Two reads need it: a tenant-scoped audit feed ordered by created_at DESC, and an offboarding purge. Both join back to resource today. Justify adding tenant_id to resource_revision against those two reads, name the anomaly the copy introduces and the constraint that prevents it, then give the ordered migration for a live table taking 1.2k writes/second — the lock each step takes, how the backfill is batched, and where each step stops being reversible. PostgreSQL 16.

Approach

  1. Justify from the access path rather than from taste. Without the column, the audit feed either scans resource_revision by created_at and discards other tenants' rows, or resolves the tenant's resource_ids first and probes with them — both proportional to the tenant's whole history rather than to one page. With (tenant_id, created_at DESC, revision_id DESC) it is a seek that stops at 50 rows, and the purge becomes a ranged delete instead of a join.
  2. Name the cost exactly: a second copy of a fact can disagree with the first. Make the disagreement unwritable rather than documented — add UNIQUE (resource_id, tenant_id) on resource so it can serve as a foreign-key target, then FOREIGN KEY (resource_id, tenant_id) REFERENCES resource (resource_id, tenant_id) on the revision table. A revision can then only ever carry its parent's tenant.
  3. Step one, expand: ALTER TABLE resource_revision ADD COLUMN tenant_id BIGINT NULL, with no default, so it is a catalogue change and no rewrite. It still needs ACCESS EXCLUSIVE for an instant, and that instant queues behind the longest open transaction on the table while every later query queues behind it — set lock_timeout to 2s and retry rather than wait.
  4. Step two, dual-write: deploy the writer that populates tenant_id on every new revision while reads still use the join. Reversible by redeploying the previous build, because nothing reads the column yet.

Follow-up

  • The backfill is half finished and a rollback is required. What state is the table in, and what does the previous build do with a half-populated column?
  • How do you verify the backfill actually finished, given rows are still being inserted while it runs?

Keep soft-deleted accounts from blocking re-registration

Easy · soft delete · unique constraints · engine differences

app_user holds user_id, tenant_id, email CITEXT, password_hash (NULL for SSO principals), email_verified_at, auth_version, status ('invited','active','suspended','deactivated'), created_at, updated_at, deleted_at. Two live accounts for one address inside a tenant must be impossible, but an address freed by a soft delete must be reusable, and the same tenant may delete and re-register it repeatedly. Write the uniqueness DDL for PostgreSQL 16, then the equivalent for MySQL 8 where partial indexes do not exist, and say what each permits once three deleted rows already hold that address.

Approach

  1. Start from what is actually unique: not (tenant_id, email), but (tenant_id, email) among live rows. PostgreSQL says that directly — CREATE UNIQUE INDEX app_user_live_email ON app_user (tenant_id, email) WHERE deleted_at IS NULL. A full constraint over the same two columns burns the address permanently the first time someone deletes an account.
  2. Keep case-insensitivity in the type or the index, never in the application: CITEXT as given, or UNIQUE (tenant_id, lower(email)) as an expression index where the extension is unavailable. A case-sensitive unique column is exactly how two accounts for one human appear.
  3. For MySQL 8 the predicate has to move inside the key: add a discriminator column that is a constant 0 while the row is live and is set to user_id on delete, with UNIQUE (tenant_id, email, deleted_marker). Live rows share the constant and still collide; deleted rows differ from each other and stop colliding.
  4. State the NULL variant and its dependency: leaving the marker NULL for deleted rows also works, because a unique index treats NULLs as distinct — true in MySQL, and true in PostgreSQL only under the default NULLS DISTINCT, which PostgreSQL 15 lets you reverse. Check the polarity against the three existing deleted rows: constant-on-live is what preserves the collision you want, and reversing it silently admits duplicate live accounts.

Follow-up

  • A deleted account re-registers with the same address the next day. Do the old resource rows follow the new user_id, and how does the API keep the two principals apart?
  • How do you honour an erasure request while resource_revision.actor_user_id still references this table?

Provide an example of a project you worked on that demonstrates your programming abilities. What was your spec

Medium · Resume and Experience

Provide an example of a project you worked on that demonstrates your programming abilities. What was your specific role in that project?

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

How have your previous academic or professional experiences prepared you for the specific demands of this posi

Medium · Resume and Experience

How have your previous academic or professional experiences prepared you for the specific demands of this position?

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

What do you understand about this role, and why do you want to work at Tetra Tech?

Medium · Resume and Experience

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

How have you used specific industry standards, such as the ASME code, in your past software or engineering pro

Medium · Domain Integration and Applied Engineeri

How have you used specific industry standards, such as the ASME code, in your past software or engineering projects?

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. Design the error taxonomy before the success shape; callers branch on it.

Follow-up

  • What happens if the caller retries after a timeout?
  • How does a client discover it is on an old version of this contract?

How would you approach a task that requires you to coordinate with project managers regarding testing for syst

Medium · Domain Integration and Applied Engineeri

How would you approach a task that requires you to coordinate with project managers regarding testing for system commissioning?

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. Design the error taxonomy before the success shape; callers branch on it.

Follow-up

  • What happens if the caller retries after a timeout?
  • How does a client discover it is on an old version of this contract?

What do you know about the RIBA stages, and how does software development support these project phases?

Medium · Domain Integration and Applied Engineeri

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. Design the error taxonomy before the success shape; callers branch on it.

Follow-up

  • What happens if the caller retries after a timeout?
  • How does a client discover it is on an old version of this contract?

Every query on one table stalls for forty seconds mid-deploy

Medium · lock contention · ddl · migrations

During a release on PostgreSQL, every query touching resource times out for about 40 seconds and then recovers with no intervention. The release ran one migration, ALTER TABLE resource ADD COLUMN archived_reason TEXT, and the migration log shows it completing in 6 ms. Unrelated tables showed no change in error rate. Explain how a 6 ms statement caused a 40-second stall, give the ordered checks you would run on a live system to confirm it, and give the migration procedure that prevents a repeat.

Approach

  1. Separate the statement's duration from the lock's duration. ADD COLUMN with no default is a catalogue-only change and genuinely runs in milliseconds, but it requires ACCESS EXCLUSIVE, and it cannot acquire that until every transaction already touching the table has finished.
  2. Account for the queueing, which is the part that surprises people. A lock request that is waiting blocks later requests for conflicting modes behind it rather than letting them overtake, so one long-open transaction holds the DDL and the DDL holds all the traffic. The stall length is set by the longest open transaction, not by the size of the change.
  3. Confirm on a live system in this order: pg_stat_activity for that table ordered by xact_start, looking for the oldest transaction and specifically for state = idle in transaction; then pg_locks where granted = false to find the waiter; then join them on pid to name blocker and blocked. pg_blocking_pids() does that join for you and is the fastest single call.
  4. Prevent rather than merely time it better. Set lock_timeout to a second or two on the migration session so the DDL abandons the queue after a bounded wait and is retried, instead of holding it for as long as the oldest transaction lives. Be exact about what that buys: queries arriving during the wait still queue behind the pending ACCESS EXCLUSIVE request, so each attempt costs them up to one lock_timeout of added latency. The outage goes from 40 seconds to about one second per attempt, not to zero. Also run migrations away from deploy-time peaks, and put a statement timeout and an idle-in-transaction timeout on the analytics role that opens the long transactions.

Follow-up

  • The same release also wants NOT NULL on that column. What is the sequence that gets there without a long lock?
  • Your lock_timeout retry fails ten times in a row because the analytics transaction is always open. What do you change?

Suggested practice checklist

Built from the rounds and topics Tetra Tech candidates report.

Day 1 — Map the Tetra Tech loop

  • Write out the reported sequence: Initial Screening, Panel Interviews, Assessment Center (UK).
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.

Day 2 — Work ASME Code Usage

  • Spend the session on ASME Code Usage, which Tetra Tech candidates report being tested on.
  • Write one worked example in ASME Code Usage and time yourself on it.

Deliverable: One timed worked example in ASME Code Usage.

Day 3 — Work Commissioning (Engineering)

  • Spend the session on Commissioning (Engineering), which Tetra Tech candidates report being tested on.
  • Write one worked example in Commissioning (Engineering) and time yourself on it.

Deliverable: One timed worked example in Commissioning (Engineering).

Day 4 — Work Testing / Test Planning

  • Spend the session on Testing / Test Planning, which Tetra Tech candidates report being tested on.
  • Write one worked example in Testing / Test Planning and time yourself on it.

Deliverable: One timed worked example in Testing / Test Planning.

Day 5 — Answer out loud: Resume and Experience

  • Answer aloud, timed: Tell me about yourself and walk me through your resume.
  • Answer aloud, timed: Provide an example of a project you worked on that demonstrates your programming abilities. What was your specific role in that project?

Deliverable: Spoken answers to 2 reported Resume and Experience question(s), under time.

Day 6 — Answer out loud: Domain Integration and Applied Engineering

  • Answer aloud, timed: How have you used specific industry standards, such as the ASME code, in your past software or engineering projects?
  • Answer aloud, timed: What is your experience with hydraulic modeling, GIS software, or mapping tools?

Deliverable: Spoken answers to 2 reported Domain Integration and Applied Engineering question(s), under time.

Day 7 — Answer out loud: Technical and Coding Skills

  • Answer aloud, timed: What are the differences between HTML, CSS, and JavaScript, and how do you ensure cross-browser compatibility?
  • Answer aloud, timed: Walk us through how you would diagnose and repair poorly written, legacy code left behind by a predecessor.

Deliverable: Spoken answers to 2 reported Technical and Coding Skills question(s), under time.

Behavioural preparation

Behavioural rounds judge the decision you made and what it cost.

Tell me about yourself and walk me through your resume.

Medium · Resume and Experience

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Discuss a time when you had to learn a new technology or domain quickly to complete a project.

Medium · Resume and Experience

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

What is your experience with hydraulic modeling, GIS software, or mapping tools?

Medium · Domain Integration and Applied Engineeri

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

How do you handle large datasets or computer models, specifically regarding data management and calibration?

Medium · Domain Integration and Applied Engineeri

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Explain your experience with modern web frameworks like React and Next.js.

Medium · Technical and Coding Skills

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Describe a time when you had to work closely with a non-technical stakeholder or client. How did you communica

Medium · Behavioral and Team Collaboration

Describe a time when you had to work closely with a non-technical stakeholder or client. How did you communicate technical concepts?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

How do you prioritize your tasks when assigned to multiple project teams simultaneously?

Medium · Behavioral and Team Collaboration

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Talk about a time when you had a disagreement with a team member. How did you resolve it to keep the project o

Medium · Behavioral and Team Collaboration

Talk about a time when you had a disagreement with a team member. How did you resolve it to keep the project on track?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

What are your career goals, and what do you expect to get out of your time at Tetra Tech?

Medium · Behavioral and Team Collaboration

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?