All 50 questions
What is the difference between an IAM user and an IAM role?
Asked in 2 of 158 interviews · last asked Oct 26 · Concept · Junior
Other ways it was asked
- “What are IAM roles and users?”
What is IAM in AWS?
Asked in 2 of 158 interviews · last asked Aug 31 · Concept · Junior
Show answer
IAM stands for Identity and Access Management. It controls who can access AWS resources and what actions they can take. I secure access by granting only needed permissions, using roles with temporary credentials, and requiring multi-factor authentication for human users.
- IAM policies define permissions for actions on AWS resources.
- Users have long-term identities; roles provide temporary credentials when assumed.
- Requests are denied unless allowed; an explicit deny overrides an allow.
- Protect the root user with MFA and avoid using it for daily work.
What the interviewer checks: The interviewer checks whether you understand AWS access control and basic ways to secure it.
Other ways it was asked
- “What is IAM and how do you secure AWS access?”
What would you recommend if an application team needs to expose an RDS database publicly?
Asked once · last asked Aug 13 · Scenario · Senior
Other ways it was asked
- “An application team needs to expose an RDS database publicly. What would you recommend to reduce the risk?”
How do you manage key rotation and application secrets using AWS KMS or another secrets-management service?
Asked once · last asked Mar 3 · Tooling · Senior
Imagine you’re reviewing an AI-generated cloud architecture for a new ecommerce platform that uses AWS Lambda, API Gateway, and DynamoDB. From a security and compliance perspective, what are the first three things you would scrutinize, and why?
Asked once · last asked Apr 17 · Scenario · Mid-level
In an environment where Splunk, CloudWatch, and CloudTrail collect logs, but Splunk has only default dashboards and reports and nobody actively reviews the data, how would you guide the team in establishing defensive cyber operations?
Asked once · last asked Apr 24 · Scenario · Senior
Other ways it was asked
- “Given a hypothetical environment where Splunk, CloudWatch, and CloudTrail collect logs, but Splunk has only default dashboards and reports and no one is actively reviewing the data, how would you recommend they begin implementing defensive cyber operations, and how would you guide the team?”
How would you secure Amazon API Gateway against unauthorized requests?
Asked once · last asked May 21 · Scenario · Senior
How would you secure a public-facing application using CloudFront and AWS WAF?
Asked once · last asked Jun 11 · Tooling · Senior
How would you implement a strict zero-trust identity and access management strategy in a new AWS environment?
Asked once · last asked Jun 16 · Scenario · Senior
Handling sensitive financial and client data means encryption is nonnegotiable. How do you manage data protection at rest and in transit with AWS services like S3, RDS, and EC2?
Asked once · last asked Jun 16 · Tooling · Senior
How would you provide governed access to data and tools for generative AI and agentic workloads using Amazon Bedrock AgentCore, and what role could MCP servers play?
Asked once · last asked Jun 16 · Design · Senior
Could data sensitivity be a concern for an on-premises customer using shared S3 buckets?
Asked once · last asked Jul 16 · Scenario · Senior
How would you build a data inventory and classification scheme for an AWS environment with no existing documentation?
Asked once · last asked Jul 17 · Scenario · Senior
What tools would you use to scan data and build a complete inventory in an AWS environment, and which data sources would you include?
Asked once · last asked Jul 17 · Tooling · Senior
How do you manage a mixed on-premises and SaaS CyberArk environment, particularly its AWS module?
Asked once · last asked Jul 22 · Scenario · Senior
How would you triage and solve a breach in a cloud environment that exposed customer data in an S3 bucket?
Asked once · last asked Aug 13 · Scenario · Senior
How would you review a company's AWS deployment as the first security hire and figure out what to look at?
Asked once · last asked Aug 13 · Scenario · Senior
How would you use service control policies, and what common pitfalls would you avoid?
Asked once · last asked Aug 13 · Concept · Senior
Other ways it was asked
- “How do you think about service control policies? What are the common pitfalls with service control policies?”
What is a secure way for a developer to access an EC2 host?
Asked once · last asked Aug 13 · Scenario · Senior
What encryption options are available for RDS, and what are their trade-offs?
Asked once · last asked Aug 13 · Concept · Senior
How would you assess security controls in AWS environments?
Asked once · last asked Aug 21 · Scenario · Senior
Other ways it was asked
- “How have you assessed security controls in AWS environments?”
How would you enforce a required TLS version across an AWS environment?
Asked once · last asked Aug 24 · Scenario · Senior
What is the difference between an AWS customer-managed KMS key and an AWS managed key, and when would you use each?
Asked once · last asked Aug 24 · Concept · Mid-level
For a customer with tens of thousands or even millions of S3 buckets, how can we identify which buckets are public-facing, give the customer visibility into that going forward, and put preventative controls in place to stop buckets from becoming public?
Asked once · last asked Aug 24 · Scenario · Senior
If a customer does not use AWS Config, what else could you use to give them visibility into public S3 buckets?
Asked once · last asked Aug 24 · Scenario · Senior
How would you enforce IMDSv2 on all instances?
Asked once · last asked Sep 3 · Scenario · Senior
If pipeline controls are unavailable and instances can be configured manually, what other measures would you use to mitigate risks from SSRF attacks targeting instance metadata credentials?
Asked once · last asked Sep 3 · Scenario · Senior
What would you look for in S3 access logs to detect suspicious activity at scale?
Asked once · last asked Sep 3 · Scenario · Senior
How can you prevent access to an Amazon S3 bucket from outside your organization or AWS account?
Asked once · last asked Sep 3 · Scenario · Senior
If an instance role needs access to Amazon S3 for a business requirement, how would you protect the data in the bucket?
Asked once · last asked Sep 3 · Scenario · Senior
How would you design AWS account isolation and segmentation to limit damage from compromised instance credentials?
Asked once · last asked Sep 3 · Design · Senior
Other ways it was asked
- “How would you use AWS account isolation and segmentation to make attacks involving compromised instance credentials more difficult?”
- “How would you design an AWS environment from scratch to limit the impact of compromised instance credentials on sensitive data?”
How would you manage cloud security controls consistently across around 1,000 AWS accounts?
Asked once · last asked Sep 3 · Design · Senior
Where would you keep AWS credentials and other secrets for an on-premises Java application connecting to AWS?
Asked once · last asked Sep 17 · Design · Senior
When would you choose Amazon Cognito over Azure Active Directory?
Asked once · last asked Sep 23 · Concept · Senior
How do you integrate API Gateway with Cognito, including scopes, tokens, and domains?
Asked once · last asked Sep 23 · Tooling · Senior
Other ways it was asked
- “How do you integrate Amazon API Gateway with Amazon Cognito for authentication?”
- “How do you use the native Amazon API Gateway and Amazon Cognito integration to manage scopes, tokens, and domains?”
Why might you use Spring Security when Amazon Cognito and API Gateway already handle authentication?
Asked once · last asked Sep 23 · Concept · Senior
How do you approach security and compliance when deploying applications on AWS?
Asked once · last asked Oct 12 · Scenario · Mid-level
When deploying workloads on ECS, EKS, or serverless platforms, what runtime image scanning and software component inventory practices would you adopt?
Asked once · last asked Oct 14 · Tooling · Senior
Other ways it was asked
- “When deploying workloads on ECS, EKS, or serverless platforms, what runtime image scanning and software component inventory practices have you adopted?”
A user has an IAM policy but gets unauthorized operation when starting an EC2 instance in the console. What’s wrong, and how would you troubleshoot it?
Asked once · last asked Oct 15 · Scenario · Mid-level
How would you use AWS ACM or AWS Private CA for certificate management, and what challenges would you anticipate?
Asked once · last asked Oct 20 · Behavioral · Senior
Other ways it was asked
- “Describe a project where you used AWS ACM or AWS PCA for certificate management and the challenges you solved.”
How do you encrypt an existing CloudWatch log group that was created with OpenTofu?
Asked once · last asked Oct 22 · Tooling · Mid-level
What happens when an AWS user has both an explicit deny and an allow policy?
Asked once · last asked Oct 22 · Concept · Junior
What is the difference between a managed policy and an inline policy in AWS IAM?
Asked once · last asked Oct 22 · Concept · Junior
What are Lambda authorizers in API Gateway?
Asked once · last asked Oct 22 · Concept · Mid-level
How would you design a secure AWS EKS architecture, and where would you place the security controls?
Asked once · last asked Nov 12 · Design · Senior
What security measures would you implement when designing an AWS environment?
Asked once · last asked Mar 9 · Scenario · Mid-level
What would you prefer for host access on some EC2 instances?
Asked once · last asked Aug 13 · Scenario · Senior
What additional security measures would you recommend for a publicly accessible RDS database?
Asked once · last asked Aug 13 · Scenario · Senior
Should encryption be part of the security controls for a publicly accessible RDS database?
Asked once · last asked Aug 13 · Scenario · Mid-level
How do you add encryption to an AWS resource?
Asked once · last asked Oct 26 · Tooling · Mid-level
More AWS interview questions
- All AWS interview questions
- AWS EC2, ECS and EKS Interview Questions
- AWS Lambda and Messaging Interview Questions
- AWS S3 and Database 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.
Or add the Chrome extension