![profile pic](https://preparesh-arbpfvdsfpcdg8a0.z01.azurefd.net/images/companies/profile/yahoo.png)
![profile pic](https://preparesh-arbpfvdsfpcdg8a0.z01.azurefd.net/images/companies/profile/yahoo.png)
How would you set up a VPC with both public and private subnets, an Internet Gateway, and a NAT Gateway using Terraform? Provide the Terraform code for creating these resources.
Please sign-in to view the solution
Write a Bash script that uses awk to extract and display the top 5 processes consuming the most memory on a Linux system. Include comments to explain each part of your script.
Please sign-in to view the solution
Describe the sequence of events that occur when a Linux machine starts up. Highlight the roles of BIOS/UEFI, bootloader, kernel, init system, and runlevels/targets in your explanation.
Please sign-in to view the solution
Describe how you would apply a configuration to many machines at scale without using SSH or SCP. Include steps on handling machine failures, ensuring configurations are applied, and reporting errors.
Please sign-in to view the solution
You are asked to identify potential causes of user latency problems and how to troubleshoot at all levels of the infrastructure. Describe the steps you would take to diagnose and resolve these latency issues, including client-side issues, network issues, server-side issues, database issues, external dependencies, and monitoring.
Please sign-in to view the solution
If you need to find all files which are similar in a directory, which command should you use? Additionally, explain how that command works internally.
Please sign-in to view the solution
If there is a long latency for a Java application running on a server, what could be the possible causes and how would you diagnose and resolve them?
Please sign-in to view the solution
What Linux commands would you use to see open ports and gather information from the /proc directory? Explain the purpose and usage of each command.
Please sign-in to view the solution
How did you use tcpdump? Explain the basic usage and provide examples of how to capture and analyze network traffic.
Please sign-in to view the solution
Explain the basic Linux file structure. What are the main directories and their purposes?
Please sign-in to view the solution
Describe common troubleshooting scenarios in Linux and provide examples of commands you would use in these scenarios.
Please sign-in to view the solution