Devops by Meenu

@devopsbymeenu


Hello everyone, I created this Telegram group to answer all of your devops-related questions. Please watch, subscribe, and comment if you have any questions.

Devops by Meenu discussion group
https://t.me/devopsbymeenudiscussiongroup

Devops by Meenu

23 Oct, 10:12


Hi friends, New Video posted on my YouTube channel- DevOps real time project part 2.

https://youtu.be/PbgSSrL4eMc?si=Oagjrczw7BThD8kW

Part 1 link:
https://youtu.be/SJBIjKRtXNQ?si=2MFb4uf9z9dZ8QqW

For more updates follow us on
Telegram channel link
https://t.me/devopsbymeenu

Follow the DevOps By Meenu channel on WhatsApp: https://whatsapp.com/channel/0029Va9uFBgIN9iklyHtQb1f

Instagram ID
https://www.instagram.com/devopsby?igsh=MWd6N3FteDV0ODJzeg==

Devops by Meenu

22 Oct, 07:20


Question:A company has several teams, and each team has their own Amazon RDS database that totals 100 TB The company is building a data query platform for Business Intelligence Analysts to generate a weekly business report The new system must run ad-hoc SQL queries What is the MOST cost-effective solution?

A) Create an Amazon EMR cluster with enough core nodes Run an Apache Spark job to copy data from the RDS databases to an Hadoop Distributed File System (HDFS) Use a local Apache Hive metastore to maintain the table definition Use Spark SQL to run the query.

B) Use an AWS Glue crawler to crawl all the databases and create tables in the AWS Glue Data Catalog Use an AWS Glue ETL Job to load data from the RDS databases to Amazon S3,and use Amazon Athena to run the queries.

C). Use an AWS Glue ETL job to copy all the RDS databases to a single Amazon Aurora
PostgreSQL database Run SQL queries on the Aurora PostgreSQL database.

D) Create a new Amazon Redshift cluster Create an AWS Glue ETL job to copy data from the RDS databases to the Amazon Redshift cluster Use Amazon Redshift to run the query.

Devops by Meenu

18 Oct, 12:31


For many days everyone has been asking me for DevOps Roadmap

Where to start,how to start, In which areas should I need to pickup.

Here is a one stop solution for all these doubts.

Here is a
DevOps Roadmap


For more updates follow us on
Telegram channel link
https://t.me/devopsbymeenu

Follow the DevOps By Meenu channel on WhatsApp: https://whatsapp.com/channel/0029Va9uFBgIN9iklyHtQb1f

Instagram ID
https://www.instagram.com/devopsby?igsh=MWd6N3FteDV0ODJzeg==

Devops by Meenu

17 Oct, 16:03


Real-time troubleshooting in Linux:-
🧑‍💻👨‍💻Let's shoot the answers in interview below:

Question 1: A user reports that their cron jobs are not running.How would you troubleshoot this issue?

Answer: Ensure the cron service is running: systemctl status cron.
Verify the cron job syntax: List the cron jobs for the user: crontab -l -u username

Check cron logs: Cron jobs are logged in /var/log/ syslog or /var/log/cron

Question 2: How do you monitor CPU and memory usage in real time?

Answer: top: Provides a real-time view of CPU and memory usage

htop: A more user-friendly version of top (if installed)

Question 3:How would you reset a forgotten root password?

Answer: Boot into single-user mode. Reboot the system. When GRUB appears, press e to edit the boot options.

Find the line that starts with linux, append single or init=/bin/bash at the end, and boot.

Remount the root filesystem: In single-user mode, the root filesystem might be mounted as read-only.

Remount it in read-write mode:
mount -o remount, rw / Change the root password: Use the passwd command to change the root password: passwd && reboot

Question 4: How would you extend a logical volume and resize the filesystem?

Answer: Ensure you have free space in the volume

group: vgdisplay

Extend the logical volume: Ivextend -L +10G/dev/ mapper/vg_name-lv_name

Resize the filesystem: resize2fs/dev/mapper/ vg_name-lv_name
For xfs: xfs_growfs/mount/point

Question 5: How would you recover a system where the /etc/ fstab file has been misconfigured, preventing the system from booting?

Answer: Boot into Rescue Mode or Single User Mode: Reboot the system and access the bootloader (GRUB).

Edit the boot options by adding single or rescue at the end of the kernel boot line to enter single-user mode. You can specify init=/bin/bash in the GRUB boot parameters to get a basic shell with limited functionality.

Fix the /etc/fstab file: nano/etc/fstab

Remount the root filesystem: mount -o remount,rw / Reboot: After fixing the file, reboot the system: reboot

Question 6: How would you troubleshoot a slow-performing server?

Answer: Check CPU usage: Use top or htop to check for high CPU usage: top

Identify any processes consuming excessive CPU and investigate further.

Check memory usage: free -m

Check for high swap usage, which might indicate memory pressure.

Question 7: How would you troubleshoot a system that's running out of disk space?

Answer: Use the df command to see which partitions are full: df -h

This will show disk usage in a human-readable format.Find large files: du-ah / | sort -rh | head -n 20 This command lists the top 20 largest files and directories.

Question 8: How do you set file permissions recursively on a directory?

Answer: Change permissions on a directory and its contents: Use chmod with the -R option: chmod -R 755/path/to/directory

Change ownership recursively: Use chown to change the owner and group of the directory and its contents: chown -R user:group/path/to/directory

Devops by Meenu

15 Oct, 05:24


50 Linux Command that Cloud
Engineers should know

Devops by Meenu

14 Oct, 05:02


AWS intern

Devops by Meenu

13 Oct, 14:37


Linux Trouble shooting scenarios

Devops by Meenu

13 Oct, 14:34


I've compiled a comprehensive list of frequently asked questions and their detailed answers to help you nail your next interview.

Key topics covered:-

-Daily responsibilities

-Technologies used

-Handling deployment failures

-DevOps core operations

-Technical and business benefits

-KPIs

-Tool usage (Git, Docker, Kubernetes, Ansible, Jenkins, GitLab, Terraform)

-Branching strategies

-CI/CD pipelines

-Databases

-Automation

-Environments

-Deployments

-Plugins

-Builds