Cloud DevOps Interview Questions
Cloud DevOps Interview Questions
AWS Landing Zone is a solution for setting up a secure, multi-account AWS environment based on
AWS best practices. It automates account creation, IAM configurations, logging, and security
baselines. It helps organizations scale while ensuring governance and compliance.
AWS Organizations is a service that allows managing multiple AWS accounts under a single
umbrella. It supports centralized governance using features like Service Control Policies (SCPs)
for policy enforcement, consolidated billing, and account management.
• IAM User: Represents an individual user with long-term credentials like access keys and
passwords.
• IAM Role: Grants temporary permissions to entities (users, services, or external accounts).
It doesn’t require long-term credentials.
IAM Assume Role allows an entity (user or service) to temporarily assume a role and gain its
permissions. This is achieved using the STS (Security Token Service) API AssumeRole.
Example: Cross-account access where a role is assumed for specific tasks.
Public Subnet: Associated with a route table that routes traffic to the Internet Gateway (IGW),
enabling public access.
Private Subnet: No route to the IGW; traffic stays within the VPC.
Bastion Host (Jump Box): A public EC2 instance to SSH into private resources.
VPN or Direct Connect: Securely connect on-premises networks to AWS private subnets.
AWS PrivateLink enables secure access to S3 from a VPC without traversing the public internet. It
uses VPC Endpoint Interface to ensure private connectivity.
Yes. A Transit Gateway is a central hub that connects multiple VPCs, on-premises networks, and
even other AWS Regions. It simplifies complex network topologies.
Stateful Stateless
VPC Peering connects two VPCs, enabling traffic to flow between them privately. Steps:
Use AWS Direct Connect or VPN for secure on-premises connectivity to S3.
Example:
Modules are reusable Terraform configurations. They help structure large projects.
GitLab Actions (CI/CD Pipelines) automate deployments, testing, and infrastructure provisioning.
Terraform Drift occurs when the actual infrastructure changes outside Terraform management.
AWS Lambda Interview Questions
• Keeping the function package size small by including only necessary libraries.
• IAM permission errors when Lambda interacts with other AWS services.
For synchronous invocations like API Gateway or SDK calls, I ensure proper error handling and
logging. I use retries and detailed responses to indicate success or failure.
I: