All 47 questions

  1. How would you use S3 presigned URLs to let users upload images directly?

    Asked in 3 of 158 interviews · last asked Sep 10 · Design · Mid-level

    Show answer

    My backend checks the user and creates a short-lived presigned PUT URL for a unique S3 key. The client uploads the image directly to a private bucket. An S3 event triggers a Lambda function to validate and process it. Processed images use a separate prefix excluded from the trigger.

    • Keep S3 Block Public Access enabled and give the signing role only the required permissions.
    • Configure bucket CORS for browser uploads; treat presigned URLs as temporary secrets.
    • Validate actual image contents; use presigned POST policies when S3 must enforce an upload size range.
    • Make processing safe to repeat because S3 events can be duplicated or arrive out of order.

    What the interviewer checks: The interviewer checks whether you can design secure direct uploads and reliable event-driven processing without routing images through your backend.

    Other ways it was asked
    • “How would you let users upload files directly to Amazon S3 in an image-processing workflow?”
    • “After users upload files to Amazon S3, what steps should an event-driven image-processing workflow take next?”
    • “How would you configure an Amazon S3 bucket for an image-processing workflow?”
  2. What is Amazon S3?

    Asked in 3 of 158 interviews · last asked Sep 20 · Concept · Junior

    Show answer

    Amazon S3, or Simple Storage Service, is AWS's object storage service. It stores files as objects in buckets, with each object identified by a key. It is used for backups, images, videos, logs, and data lakes. It scales automatically, and you pay for storage and usage.

    • S3 is object storage, not a block disk or a traditional file system.
    • Objects are private by default; access is controlled through permissions.
    • Storage classes offer different costs, retrieval times, and access charges.

    What the interviewer checks: The interviewer is checking whether you understand S3's storage model and common uses.

    Other ways it was asked
    • “What is Amazon S3, and what is it used for?”
  3. What are global secondary indexes (GSIs) and local secondary indexes (LSIs) in DynamoDB, and how do they differ?

    Asked in 2 of 158 interviews · last asked Nov 5 · Concept · Mid-level

    Show answer

    GSIs and LSIs are DynamoDB indexes for querying data with other keys. A GSI has its own partition key and optional sort key, useful for new access patterns. An LSI keeps the table’s partition key but uses a different sort key, useful for sorting the same group differently.

    • GSIs can be added later; LSIs must be created with the table.
    • GSIs support only eventually consistent reads; LSIs also support strongly consistent reads.
    • In provisioned mode, GSIs have separate capacity; LSIs share table capacity.
    • With LSIs, each partition key’s table data and LSI entries together must fit within 10 GB.

    What the interviewer checks: The interviewer checks whether you can choose an index based on query needs, consistency, and limits.

    Other ways it was asked
    • “What are GSIs and LSIs in DynamoDB, and what are their use cases?”
  4. How would you connect a Laravel application to S3 and upload images?

    Asked in 2 of 158 interviews · last asked Jul 31 · Tooling · Mid-level

    Show answer

    I install Laravel’s S3 adapter and configure the bucket, region, and AWS access. I prefer an IAM role over stored access keys. The browser sends the image to Laravel as a multipart upload, and Laravel validates it before storing it on S3. I keep images private and provide temporary URLs when needed.

    • For current Laravel versions, install the league/flysystem-aws-s3-v3 Composer package.
    • Set AWS_BUCKET and AWS_DEFAULT_REGION; Laravel’s s3 disk uses these settings.
    • Give the app only needed S3 permissions, such as PutObject for uploads and GetObject for reads.
    • Validate image type and size; never expose AWS credentials in browser code.
    Code
    // In routes/web.php, after configuring the s3 disk:
    \Illuminate\Support\Facades\Route::post('/images', function (\Illuminate\Http\Request $request) {
        $request->validate(['image' => 'required|image|max:5120']);
        $path = $request->file('image')->store('images', 's3');
        abort_if($path === false, 500, 'Upload failed');
        $url = \Illuminate\Support\Facades\Storage::disk('s3')
            ->temporaryUrl($path, now()->addMinutes(5));
        return ['path' => $path, 'url' => $url];
    })->middleware('auth');

    What the interviewer checks: The interviewer checks whether you can configure Laravel storage, handle uploads safely, and control S3 access.

    Other ways it was asked
    • “Could you explain step by step how to upload an image from a local desktop to an S3 bucket using Laravel or PHP?”
    • “How do you connect a Laravel application to Amazon S3?”
  5. What is an S3 bucket?

    Asked in 2 of 158 interviews · last asked Oct 30 · Concept · Junior

    Show answer

    An S3 bucket is a container for objects stored in Amazon S3. Each object contains data, such as a file, and metadata, and has a unique key within the bucket. You create a bucket in an AWS Region and configure settings such as access permissions and versioning.

    • S3 stores objects, not files in a traditional file system.
    • Object keys identify objects; prefixes can make them look like folders.
    • Buckets and objects are private by default.
    • Versioning can keep multiple versions of an object.

    What the interviewer checks: The interviewer is checking whether you understand how S3 organizes data and controls access.

  6. Which AWS services would you consider when designing a batch-processing system?

    Asked once · last asked Mar 9 · Design · Mid-level

    Other ways it was asked
    • “How would you design an AWS architecture for batch processing, and what principles would guide your design?”
    • “What factors do you consider when designing an AWS batch-processing environment?”
  7. Why might Amazon S3 be used as an intermediary between AWS Lambda and Snowflake, and how would you integrate it?

    Asked once · last asked Sep 20 · Design · Mid-level

    Other ways it was asked
    • “Why might you use Amazon S3 as an intermediary between AWS Lambda and Snowflake?”
    • “Why might you use Amazon S3 as an intermediary instead of loading data directly from AWS Lambda into Snowflake?”
    • “How would you set up data ingestion between AWS Lambda, Amazon S3, and Snowflake?”
  8. How would you design a simplified real-time data processing architecture using AWS services and Kafka Streams?

    Asked once · last asked Sep 17 · Design · Senior

    Other ways it was asked
    • “What are the main components of a real-time data processing architecture using AWS and Kafka Streams, and how do they interact?”
  9. What are the two main DynamoDB operations for retrieving items, and how do they differ?

    Asked once · last asked Mar 3 · Concept · Mid-level

  10. How would you handle Amazon S3 multipart upload limits, including the 5 TB object-size and 10,000-part limits?

    Asked once · last asked May 21 · Scenario · Senior

  11. How would you configure an Amazon S3 bucket and its access policies?

    Asked once · last asked May 21 · Tooling · Mid-level

  12. How would you handle an expiring presigned URL or a failure during a large multipart upload, and ensure the upload can complete successfully?

    Asked once · last asked May 21 · Scenario · Senior

  13. How would you migrate data from Google Cloud Storage to Amazon S3?

    Asked once · last asked May 21 · Scenario · Senior

  14. What are the differences between MongoDB and Amazon DynamoDB?

    Asked once · last asked Jun 3 · Concept · Junior

  15. How do you capture and process events from a DynamoDB Stream?

    Asked once · last asked Jun 23 · Scenario · Mid-level

  16. How do you design the primary key and global secondary indexes in DynamoDB?

    Asked once · last asked Jun 23 · Scenario · Senior

  17. How do you avoid table scans when querying DynamoDB?

    Asked once · last asked Jun 23 · Scenario · Mid-level

  18. How would you configure object versioning and storage settings in Amazon S3?

    Asked once · last asked Jun 25 · Tooling · Mid-level

    Other ways it was asked
    • “How have you configured object versioning and storage settings in Amazon S3?”
  19. How would you migrate an on-premises Oracle database to Oracle RDS, from planning through completion?

    Asked once · last asked Jul 18 · Scenario · Senior

  20. What are the key differences between PostgreSQL on AWS RDS and a self-managed PostgreSQL database?

    Asked once · last asked Jul 18 · Concept · Mid-level

  21. Why use Amazon S3 in AWS if you already have a database?

    Asked once · last asked Jul 26 · Concept · Mid-level

  22. How would you choose between DynamoDB, Aurora, RDS, or a combination for a transactional workload?

    Asked once · last asked Jul 27 · Scenario · Senior

  23. What S3 storage classes or considerations matter for a data engineering pipeline?

    Asked once · last asked Aug 20 · Concept · Mid-level

  24. What causes hot partitions in DynamoDB?

    Asked once · last asked Aug 30 · Concept · Mid-level

  25. If your application runs in AWS with only 1 GB of memory but must read more than 100 GB from DynamoDB and write it to a file, what is your approach?

    Asked once · last asked Sep 2 · Scenario · Senior

  26. When data files are stored in Amazon S3, what are the trade-offs between using Protocol Buffers and having an analytics system read the files directly?

    Asked once · last asked Sep 15 · Design · Senior

  27. How would you design a pipeline to ingest 500 CSV files per day from S3 into a Snowflake table?

    Asked once · last asked Sep 17 · Design · Senior

  28. How would you architect an application that ingests large CSV, TSV, or similar text files into AWS, processes them as soon as they land, applies business logic, and loads different database tables?

    Asked once · last asked Oct 7 · Design · Senior

  29. How do you use AWS cloud data services through the console, command line, and infrastructure as code?

    Asked once · last asked Oct 14 · Tooling · Mid-level

    Other ways it was asked
    • “How do you use AWS services through the command line?”
  30. What are the advantages of Amazon Aurora over traditional RDS for MySQL and PostgreSQL?

    Asked once · last asked Oct 22 · Concept · Mid-level

  31. What criteria do you consider when designing a DynamoDB data model to avoid problems with future queries?

    Asked once · last asked Oct 23 · Scenario · Senior

  32. How would you use Amazon S3 in an application, and is it suited to predefined or dynamic, real-time information?

    Asked once · last asked Jan 24 · Scenario · Mid-level

  33. How can a calling system determine whether a DynamoDB update succeeded if the database is unavailable or the connection fails?

    Asked once · last asked Nov 19 · Scenario · Mid-level

    Other ways it was asked
    • “What responsibility does the calling system have for confirming whether a DynamoDB update succeeded?”
  34. How does DynamoDB handle concurrent updates to the same item?

    Asked once · last asked Oct 26 · Concept · Mid-level

  35. What keys and indexes does DynamoDB offer?

    Asked once · last asked Nov 5 · Concept · Mid-level

  36. When designing an API, when would you use a DynamoDB GSI or LSI instead of querying by the table's partition or sort key?

    Asked once · last asked Nov 5 · Scenario · Mid-level

  37. How does pagination work in DynamoDB?

    Asked once · last asked Nov 5 · Concept · Mid-level

  38. How can you create tables in DynamoDB, and is it primarily a GUI-based task?

    Asked once · last asked Nov 12 · Tooling · Junior

  39. What is the difference between Amazon S3 and EBS?

    Asked once · last asked Nov 13 · Concept · Junior

  40. What options would you consider to make bulk data in S3 searchable, including vector store options?

    Asked once · last asked Nov 20 · Design · Senior

  41. What are the primary keys in DynamoDB?

    Asked once · last asked Mar 3 · Concept · Junior

  42. How would an application running on EC2 connect to a database?

    Asked once · last asked Sep 10 · Design · Mid-level

  43. What are lifecycle policies in Amazon S3?

    Asked once · last asked Oct 22 · Concept · Junior

  44. What is RDS, and what is it needed for?

    Asked once · last asked Jan 24 · Concept · Junior

  45. What is an Amazon S3 object, and how does its data relate to the object?

    Asked once · last asked Oct 26 · Concept · Junior

  46. What is DynamoDB?

    Asked once · last asked Oct 30 · Concept · Junior

  47. How do you connect to RDS?

    Asked once · last asked Nov 17 · Tooling · Mid-level

More AWS interview questions

How this list is made

Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.

Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.

The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every AWS interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.

158 interviews, 106 candidates, Jan 2026 to Nov 2026. Updated every month with new interviews.