Terraform Interview Questions: ==================================== 1).what is the difference between terraform import and terraform move into terraform into our env Effect on Terraform state * terraform import * Adds an existing resource to the Terraform state. * Does not create or modify the actual infrastructure. * terraform mv * Moves or renames an existing resource within the Terraform state only. * No impact on real infrastructure. ================== terraform import aws_instance.my_ec2 i-1234567890abcdef ===================== terraform mv aws_instance.old_name aws_instance.new_name ======================= 2).write a block for ec2 using the Terraform? 3).which terraform version we have to used into terraform > 1.5 and 1.6 version we have to used into it … 4).can you explain me the terraform import usage into terraform > What is Terraform import? * terraform import is used to bring existing infrastructure into Terraform state * The resource alrea...
Posts
- Get link
- X
- Other Apps
Case type Description Solution Application migration A company plans to migrate its legacy application to AWS. The application is data-intensive and requires low-latency access for users across the globe. What AWS services and architecture would you recommend to ensure high availability and low latency? EC2 for compute S3 for storage CloudFront for content delivery Route 53 for DNS routing Disaster recovery Your organization wants to implement a disaster recovery plan for its critical AWS workloads with an RPO (Recovery Point Objective) of 5 minutes and an RTO (Recovery Time Objective) of 1 hour. Describe the AWS services you would use to meet these objectives. Backup for regular backups of critical data and systems with a 5-minute recovery points objective (RPO) CloudFormation to define and provision the disaster recovery infrastructure across multiple regions Enable Cross Region Replication in S3 to replicate backups across regions Setup CloudWatch alarms to monitor systems an...
- Get link
- X
- Other Apps
What is LDAP service in Linux? LDAP (Lightweight Directory Access Protocol) is a directory service used to store and manage centralized information, such as: * Users and passwords * Groups * Computers * Email addresses * Application authentication data On Linux, LDAP is commonly used for: * Centralized user login * Authentication and authorization * Integration with applications (GitLab, Jenkins, mail servers) * Active Directory integration Think of LDAP as a central phonebook for users and systems 📒 ========================== How LDAP works (simple flow) 1. Client asks LDAP server: “Is this user valid?” 2. LDAP server checks directory 3. Server responds with yes/no and user details Common LDAP service in Linux * OpenLDAP (slapd) → most widely used LDAP server on Linux Service name: slapd LDAP Port Numbers Protocol Port Description LDAP 389/TCP Plain LDAP LDAPS 636/TCP Secure LDAP (SSL/TLS) LDAP + STARTTLS 389/TCP Encrypted over standard LDAP 📌 389 = default
📌 636 = secure (l...
- Get link
- X
- Other Apps
Linux Interview Questions: ========================= Linux Interview Questions: ============================= 1).what is the differnece between df and du command into linux os ? 2).where we use the df and du command into linux os ? 3)./etc/passwd and /etc/shadow . Why w can;’t merge tow files into single files into linux os ? 4).Can normal user can access the /etc/shadow file into linux os? 5).lablk and fdisk command ? Both are the same or different into linux os ? 6).hav you created any lvm into linux os ? 7).if you want o see the lvm . Which comman dare u going to be executed into linux os ? 8).Ypu know the how to extend the lvm into linux os ? 9).why we do the resize2fs into linux os ? 10).am trying to create the file /opt directory or is /var diredtcoyr We are getting the permsiioisn dried issue or disk space related issue and no space issues into linux os ? How to troubleshooting into it ? 11).what is the inode into linux os ? 12).how to see the indies into it? 1...
- Get link
- X
- Other Apps
Kubernetes Interview Questions: ============================== 1).What is Deamonset into the kubernetes? Deamonset: 2).what is the deployment into kubernestes? ================= apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:latest ports: - containerPort: 80 =============================== 3).what is the statefulset into kubernetes? apiVersion: apps/v1 kind: StatefulSet metadata: name: mysql spec: serviceName: mysql replicas: 3 selector: matchLabels: app: mysql template: metadata: labels: app: mysql spec: containers: - name: mysql image: mysql:8 volumeMounts: - name: data mountPath: /var/lib/mysql volumeClaimTemplates: - metadata:...
- Get link
- X
- Other Apps
Linux Interview Questions: ======================== How much yourself rate on yourself on linux os ? 1).after rebooting linux os , the disk is not showing up ? So what kind of steps u have to take it up ? 2).what is permanent mouth and temoarat mounting into linux os ? 3).didi you worked on ILO into linux os ? Those are physical serves or virtual servers … We can take the console directly from the hp hardware servers… 4).have you been transfer the data between two servers into linux os ? 5).what is the scp command ? What is the difference between both commands like as the scp and rsync command into linux os ? 6).you want to creta the 5gb of the disk ? So what we will do int that case ? While using the fdisk or parted into linux os ? 7).How to update the partition table into linux os ? 8).are u work with lvm ? 9).what is the lvm? 10).you have to extend the lvm , no free space for vg into linux os ? 11).Hva you extend the lvm ? 12)).do you know about the softlink and ha...
Kubernetes and Docker
- Get link
- X
- Other Apps
What is the pod ? What is a Pod? A Pod is the smallest deployable unit in Kubernetes. It represents one or more containers that: Share the same network (IP, ports) Share storage volumes Run together on the same node Think of a Pod as a wrapper around containers. Manifest yaml file:(POD): apiVersion: v1 kind: Pod metadata: name: nginx-pod spec: containers: - name: nginx image: nginx ports: - containerPort: 80 2)what is the replicates? ReplicaSet (Ensure Desired Number of Pods) 🔹 What is a ReplicaSet? A ReplicaSet ensures a specified number of identical Pods are running at all times. 🔹 Why do we use ReplicaSets? =High availability. =Self-healing. =Automatic Pod recreation. ========================================================================================= apiVersion: apps/v1 (REPLICATIONS): kind: ReplicaSet metadata: name: nginx-rs spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: ...