en
Feedback

Don't get caught by a cheater! Telemetrio finds and tags such channels 👉 If you want to see the tag, subscribe

Devops and aws interview preparation Hyderabad

Open in Telegram

Who interested to learn Linux AWS and devops I will explain and I will give my support until you got job and no need to go for proxy after training. For traning call me 9154078579 For serious learners I will share my entire knowledge

Show more
5 168
Subscribers
+424 hours
+167 days
+4630 days
Posts Archive
Question:121:- A Terraform change spans multiple AWS accounts. How do you reduce risk? When a Terraform change spans multiple AWS accounts, we reduce risk by using a controlled, phased deployment strategy rather than applying changes to all accounts simultaneously. 1. Maintain separate Terraform state files for Dev, QA, and Production accounts. 2. Use an S3 backend with DynamoDB-based state locking (or the supported S3 lockfile mechanism). 3. Never share the same state file across independent AWS accounts or environments. 4. Enable S3 versioning to recover previous state versions. 5. Configure cross-account role assumption using AWS STS. 6. Avoid using AWS root credentials or long-lived access keys. 7. If something goes wrong, I stop further deployments, analyze the changes, revert the configuration, generate a new plan, and apply corrective changes after approval. To learn aws&Devops from scratch ping me 9154078579
29 Nov, 06:01

Hi i am going to start new aws&Devops session from scratch on 03-12-2026 @7:30 pm IST The training main intention is to clear the interview on your own ping me who are interested 9154078579
27 Nov, 00:19

Question:-120 How does Kubernetes decide which node to schedule a pod on? 1. Kubernetes decides which node to run a Pod on using a component called the Kubernetes Scheduler (kube-scheduler). 2. The scheduler evaluates all available worker nodes, filters out nodes that cannot run the Pod, and selects the most suitable node. Filtering depends pn -->CPU requests--->Memory requests-->Node selector-->Taints and tolerations--->Node affinity-->Volume requirements 3. Kubernetes scores the remaining nodes using scheduling plugins. Suppose we have three worker nodes: Worker-1: 2 CPU, 4 GB RAM Worker-2: 4 CPU, 8 GB RAM Worker-3: 8 CPU, 16 GB RAM we deploy a Pod requesting 2 CPU and 4 GB RAM. By mention in yaml resources: requests: cpu: "2" memory: "4Gi" 4.kube-scheduler sends a Bind request to the Kubernetes API server, updating the Pod's spec.nodeName field. To learn aws&Devops from scratch ping me 9154078579
26 Nov, 10:46

Question:-119 What happens internally when you run kubectl apply? When we run kubectl apply, Kubernetes takes our YAML configuration, compares it with the existing cluster state, calculates the required changes, and sends those changes to the Kubernetes API Server. 2.The API Server processes the request, stores the desired configuration in etcd, and Kubernetes controllers work continuously to make the actual cluster state match the desired state. The Kubernetes Controller Manager continuously watches the API Server. The Scheduler watches for newly created Pods that do not have a node assigned. The Kubelet running on each selected worker node detects the assigned Pod. The Kubelet reports Pod status back to the API Server. The Deployment Controller continues monitoring the state and ensures that the desired number of replicas is maintained. To learn aws&Devops from scratch ping me 9154078579
16 Nov, 05:20

Question:-118 A developer raises a PR with a vulnerable package and a security check fails. What is the ideal way to handle it? I would treat the security scan as a mandatory quality gate in the CI/CD pipeline. If a developer raises a PR containing a vulnerable dependency, I would block the merge and notify the developer with the package name, CVE ID, and severity. I would ask the developer to upgrade the dependency to a secure version or apply an approved mitigation. Once the fix is committed, the pipeline automatically reruns the security scan. Only after the security checks pass and the required approvals are completed would I allow the PR to merge. For exceptions, I would follow a formal risk-acceptance process with security-team approval and a defined expiry date. My goal is to implement Shift-Left Security, identifying and fixing vulnerabilities as early as possible in the development lifecycle. To learn aws&Devops practically ping me 9154078579
14 Nov, 20:37

Hi i am going to start new aws&Devops session on 09-11-2026 @ 8 Am IST The training main intention is to clear the interview yourself ping me who are interested to join the session 9154078579
04 Nov, 06:19

Question:-118 How does Docker layer caching work? 1.Docker layer caching speeds up image build times by reusing unchanged intermediate layers from previous builds rather than executing every instruction in a Dockerfile from scratch 2.Docker uses different criteria to check if a layer can be reused based on the instruction type --->If the text of the command (RUN, ENV, WORKDIR) has changed (even a simple argument change), the cache is invalidated. ---> Docker (COPY, ADD) calculates a unique checksum for every file and directory being added. It compares this checksum against the files in the cached layer. If any contents, permissions, or modifications have changed, the cache is invalidated. ---->For a command like RUN apt-get update, Docker only checks the command string. It does not know if the remote software repositories have new updates. It will pull from the cache anyway unless forced otherwise. To learn aws&Devops from scratch ping me 9154078579
01 Nov, 11:04

Question:-117 How we can do helm upgrade to latest version of Ingress NGINX? 1.Before upgrading, we must fetch the latest chart metadata from our repository provider. ----->helm repo update ingress-nginx 2.To upgrade the release to the latest version, we can execute helm upgrade followed by our release name and the repository path ----->helm upgrade ingress-nginx/ingress-nginx ? what is RELEASE_NAME --->If our Application is named my-app, the Helm release will also be named my-app. ### The release name is the handle we use to track, manage, upgrade, or uninstall that specific deployment 3.If the latest version causes issues or application downtime, immediately revert to our last stable revision ----->helm rollback --namespace To learn aws&Devops from scratch ping me 9154078579
30 Oct, 22:23

Question-116:- Your company wants to migrate manually managed infrastructure to Terraform. How would you approach the migration without disrupting production? To migrate manually managed infrastructure to Terraform without disrupting production terraform apply must yield zero changes (0 to add, 0 to change, 0 to destroy) 1.Always plan to migrate foundational components first (VPCs, IAM roles, Subnets) followed by downstream consumer resources (Databases, VMs). 2.we need to run terraform plan -generate-config-out=generated.tf. This instructs Terraform to analyze the live state and generate the exact HCL syntax matching to our infrastructure. 3.Inject lifecycle policies dynamically to protect resources while performing state alignment. Need to use prevent_destroy = true to guarantee nothing is accidentally deleted, and ignore_changes to bypass fast-moving live values like tags or metrics during the import phase. 4. Continuously run terraform plan. Compare live realities against our drafted configurations and fix formatting, attributes, or variable discrepancies. 5.Update identity policies (IAM) to change engineers' permissions to read-only for managed assets for Revoke Manual Write Access To learn aws&Devops from scratch ping me 9154078579
27 Oct, 22:51

Question:-115-- > Can you explain terraform lifecylce ? Terraform Lifecycle" refers to two distinct related concepts 1.The Core Workflow Lifecycle [Write] ➔ [Init] ➔ [Plan] ➔ [Apply] ➔ [State Management] ➔ [Destroy] Write:--->we can write our .tf files according our requirements Initialize (terraform init)----->Prepares the directory by downloading the necessary cloud provider plugins (like AWS, Azure, or GCP) and setting up our state backend. Plan (terraform plan): ----->Compares our code against the current reality of our cloud environment. It prints a preview showing exactly what will be added, changed, or deleted. Apply (terraform apply):----> Executes the changes outlined in the plan. It calls the cloud provider APIs to spin up or modify our physical resources State Management: ---->Terraform updates a file (terraform.tfstate) that serves as a single source of truth, mapping our code definitions to the actual IDs of real-world resources Destroy (terraform destroy): ----->Cleans up our infrastructure by safely deleting all resources tracked by that state file 2. The lifecycle Configuration Block when we update an attribute that forces a resource to be recreated, Terraform deletes the old resource first and then creates the new one.To override this default behavior, we can insert a nested lifecycle block inside any resource configuration create_before_destroy = true---->Forces Terraform to stand up a new replacement resource before tearing down the old one. prevent_destroy = true--->Rejects any terraform apply or destroy command that attempts to delete this resource. ignore_changes = [attr]------>Tells Terraform to look away if specific attributes change outside of the code---->Resources modified by external tools (e.g., cloud auto-scaling groups modifying instance counts or replica tags). Example: resource "aws_instance" "web_server" { ami = "ami-123456" instance_type = "t2.micro" lifecycle { create_before_destroy = true prevent_destroy = false } } To learn aws&Devops from scratch ping me 9154078579
18 Oct, 22:25

Question-113:- How do you configure sticky sessions in Kubernetes? In Kubernetes, sticky sessions means the requests from the same client are repeatedly routed to the same Pod instead of being load-balanced across different Pods. 1.Sticky sessions or session affinity is a convenient strategy to keep subsequent requests always reaching the same pod. 2.The simplest Kubernetes-native approach is sessionAffinity: ClientIP. Kubernetes supports ClientIP and None; the default is None. # Enable sticky sessions sessionAffinity: ClientIP 3.The default sticky-session timeout is 10,800 seconds (3 hours), and we can configure it with sessionAffinityConfig.clientIP.timeoutSeconds; the maximum is 86,400 seconds (24 hours). 4.There are two common places where sticky sessions can be configured Kubernetes Service-------->sessionAffinity: ClientIP Ingress / external Load Balancer--------->Cookie-based or LB-specific stickiness 5.Sticky sessions are often used for applications that store session state locally in the Pod To learn aws&Devops from scratch ping me 9154078579
08 Oct, 05:47

Question-112:-your application suddenly receives 10x normal traffic. how would you design aws infrastructure to handle the traffic? To handle a sudden 10x traffic increase, we design an elastic, multi-layered AWS architecture that scales compute dynamically, caches data at the edge, and protects backend databases from saturation 1.Amazon Route 53 Routes traffic globally with latency-based or geoproximity routing to spread the load across multiple AWS Regions if necessary 2. A 10x spike might be a DDoS(Distributed Denial-of-Service) attack. AWS WAF implements rate-limiting rules to block malicious traffic at the edge before it consumes backend bandwidth. 3.ALBs scale automatically, but a sudden instantaneous 10x burst can outpace its scaling algorithm. If the spike is predictable (e.g., a flash sale), we must pre-warm the ALB via AWS Support to ensure it handles the immediate wall of traffic. 4.Applications must be stateless so instances can be created or destroyed dynamically without losing user sessions 5.A 10x traffic surge creates a massive flood of database connection requests, which can exhaust DB memory. RDS Proxy pools and shares these connections to keep the database from buckling under the overhead. To learn aws&Devops from scratch ping me 9154078579
06 Oct, 02:39

Question-111:-Your application is healthy, but users experience intermittent timeouts. How would you identify whether the issue is in the application, network, infrastructure, or load balancer? we need to check load balancer metrics and logs to see how it handles traffic 1.If loadbalancer showing 504 error means the load balancer timed out waiting for a response from our application. If our app takes 70 seconds to reply but our load balancer timeout is set to 60 seconds, the load balancer cuts the connection. 2.If loadbalancer is it showing 502 error means a bad gateway, often caused by a keep-alive mismatch where our backend closes an idle connection before the load b alancer expects it to 3.Need to check locked database tables, or memory pressure that temporarily stops the app from responding to new requests. 4. specific queries or slow database calls cause rare spikes that exceed timeout limits, even though average response times look fine. 5.we need to check VPC flow logs or network interfaces for high TCP retransmissions or packet drops. To learn aws&Devops practically from scratch ping me 9154078579
05 Oct, 07:41

Hi i am going to start Generative artificial intelligence (GenAI) session on 5-10-2026 Monday@8AM IST Generative AI & Foundation Models Prompt Engineering RAG & Knowledge Bases AI Agents & Agentic AI ping me who are interested to jion in my session 9154078579
03 Oct, 21:57

Implemented RAG on AWS by Building an AI-powered Knowledge Base, with Amazon Bedrock and S3 Vectors what is RAG? RAG = Retrie
+2
Implemented RAG on AWS by Building an AI-powered Knowledge Base, with Amazon Bedrock and S3 Vectors what is RAG? RAG = Retrieval-Augmented Generation RAG is an AI technique where a Large Language Model (LLM) retrieves relevant information from an external knowledge source and then uses that information to generate an answer. What is Knowledge Base in RAG? A Knowledge Base (KB) in RAG is a collection of information that an AI system can search and retrieve from when answering a user's question. what is Amazon Bedrock? Amazon Bedrock is an AWS fully managed service for building generative AI applications using foundation models (FMs) from Amazon and other AI providers. It provides APIs and tools so we can use these models without managing the underlying model infrastructure To learn Generative artificial intelligence (GenAI) from scratch ping me 9154078579
03 Oct, 07:29

Question-110:-Two applications are running in different VPCs and need secure communication. How would you design the connectivity? 1.VPC Peering connects two VPCs using the cloud providers internal, private backbone network. Traffic remains entirely private and never traverses the public internet. 2.AWS PrivateLink is the ideal solution for Application B acts strictly as a "service" or API provider to Application A—or if both VPCs have overlapping IP address blocks 3.If we require strict, fine-grained HTTP/HTTPS request-level authentication without managing complex routing tables, Amazon VPC Lattice provides a managed service mesh layer. To learn aws&Devops from scratch ping me 9154078579
01 Oct, 22:47

Question-109:- You have a Java application running inside a Docker container on a VM. If the process has one PID inside the container and another PID on the host, which PiD is greater and why? 1.The host PID is always greater than the container PID 2.Inside the container, the namespace creates a isolated environment where our Java application thinks it is the only major process running, assigning it PID 1 (or a very low number). 3.On the host, the process is viewed as part of the entire system's global process tree. Since the host has been running many system processes, daemons, and services. 4.The host tracks every process across the entire virtual machine consecutively, the global counter will almost always be much higher than the isolated, freshly initialized counter inside the container. To learn aws&Devops from scratch ping me 9154078579
28 Sep, 23:18

How to use driftctl for aws terraform ? 1. driftctl is used to find differences between our AWS live infrastructure and our T
How to use driftctl for aws terraform ? 1. driftctl is used to find differences between our AWS live infrastructure and our Terraform state files 2. driftctl needs read-only permissions to scan our AWS environment. It automatically picks up standard AWS environment variables 3.By default, running driftctl scan looks for a local terraform.tfstate file in our current working directory. driftctl scan --from tfstate://terraform.tfstate 4.If our AWS infrastructure is split across multiple state files, pass multiple --from flags driftctl scan --from tfstate+s3://my-bucket/vpc.tfstate --from tfstate+s3://my-bucket/apps.tfstate To learn aws&Devops from scratch ping me 9154078579
20 Sep, 07:44

Question:-108 Explain what a Helm release is, and how it is different from a chart. In Helm a release is a running, deployed instance of a Helm chart inside a Kubernetes cluster 1.Helm release it consists of actual running Kubernetes resources (Pods, Services, etc.). Helm chart is a compressed file (.tgz), or a repository. 2.we can deploy the same chart multiple times to create separate releases (e.g., frontend-dev and frontend-prod). we only need one chart for an application. 3. Helm stores release information dynamically as Kubernetes Secrets within the cluster itself. It doesn't need an external database to track what is currently running. 4. Every time we update a release (e.g., changing an environment variable or upgrading the image version via helm upgrade), Helm increments the revision number (Revision 1, Revision 2, etc.). If an upgrade fails, we can instantly rollback the specific release to a previous stable revision using helm rollback. To learn aws&Devops practically ping me 9154078579
17 Sep, 12:36

photo content
15 Sep, 09:53