MGT - Interview Question
MGT - Interview Question
MGT - Interview Question
-------- Hi... Shivani Shejwal here, basically from Pune, and currently working as a cloud
administrator at IBN Technologies. I have about two years of experience with AWS and the Linux
platform. I have basic knowledge of devops configuration management tools like git, ansible, docker,
jenkins etc.
The current company work for my role is, support on ticketing system, troubleshooting of issues on
Linux and AWS, Launch and configure the servers on AWS, configuring the softwares and applications
etc.
Why are you switching to your current job?
-----"I am excited about the opportunity to take on new challenges and further develop
my skills, and I believe that this position aligns well with my career goals and
aspirations."
------I'm sorry, but based on my experience and skills, I believe that the salary package is
appropriate. Instead of this, I'd like to know how much you can offer for me this position.
------Install LAMP stack: Magento requires a web server, PHP, database and elastic
search.
What is magento?
Magento is a popular open-source e-commerce platform written in PHP. The
platform is compatible with Linux-based systems such as Ubuntu or Debian. It
was first released in 2008 and has since become one of the most popular e-commerce platforms
in the world.
what is radis?
Redis (Remote Dictionary Server) is an open-source, in-memory data structure store that is used
for caching, messaging, and data processing. Redis is known for its high performance and low
latency due to its in-memory nature, which allows for extremely fast data operations.
What is varnish?
Caching: Varnish caches HTTP responses in memory, allowing for fast access to frequently
requested content.
Reverse proxy: Varnish can act as a reverse proxy server, intercepting and forwarding requests to
a web application server.
Load balancing: Varnish can be used to load balance traffic across multiple web application
servers.
Linux
What is linux?
------ Linux is the best-known and most-used open source operating system that was
designed to provide a free and a low-cost operating system for the computer users..
Linux is a UNIX based operating system. Linus Torvalds first introduced it.
Linux boot process ?
---- There are 6 steps of booting process in linux
1. BIOS- Bios stands for basic input/output system .BIOS loads and
executes the MBR boot loader
2. MBR- MBR stands for Master Boot Record.
MBR loads and executes the GRUB boot loader.
Size of MBR : MBR is less than 512 bytes in size. This has three
components: 1) primary boot loader info in 1st 446 bytes 2) partition table
info in next 64 bytes 3) mbr validation check in last 2 bytes.
3. GRUB- Grub stands for grand unified bootloader holds the information of the
operating system.if you have multiple kernel images installed on your system.
You can choose which one to be executed .
GRUB just loads and executes Kernel and initrd images.
4. KERNEL- Mounts the root file system as specified in the “root=” in grub.conf
initrd stands for Initial RAM Disk.
kernel executes the /sbin/init programs
5. INIT- init executes run level programs there are 7 run levels
6. RUN LEVELS - Types 0. halt 1. single user 2. Multi user without nfs 3.Multi user
with nfs 4.Unused 5. Graphical 6.Rebbot
What is kernel
A Kernel is a computer program that is the heart and core of an Operating System. The
Kernel is responsible for low-level tasks such as disk management, memory
management, task management, etc. It provides an interface between the user and
the hardware components of the system
What is DNS
-- DNS stands for Domain Name System, Translates human readable domain names to IP
addresses.
Which types of backups are available in linux ?
--- (1) Incremental backup,
(2) differential backup and
(3) mirror backup.
Mysql restore ?
---- i have use this command mysqldump -u username dbname < dbname.sql
What is PHP?
----PHP is a server side scripting language. that is used to develop Static websites
or Dynamic websites or Web applications. PHP stands for Hypertext Preprocessor,
which earlier stood for Personal Home Pages. PHP scripts can only be interpreted on a
server that has PHP installed.
Components of linux?
----- They are -
Kernel
Shell
GUI
Application Programmes
What is a shell?
------ Simply put, the shell is a program that takes commands from the keyboard and
gives them to the operating system to perform. In the old days, it was the only user
interface available on a Unix-like system such as Linux.
What is core?
What is FTP?
FTP stands for File Transfer Protocol. used for the transfer of computer files
between a client and server on a computer network. FTP is built on a client-
server model architecture using separate control and data connections between
the client and the server.FTP working on 20/21 port.
Port 21 is used to establish the connection between the 2 computers (or hosts)
and port 20 to transfer data (via the Data channel).
What is Devops?
----- DevOps is a set of practices that works to automate and integrate the processes
between software development and IT teams.
You worked on SMTP?
Yes, it stands for Simple Mail Transfer protocol. Is a communication protocol for
electronic mail transmission.
SMTP works on 25 Port no.
What is git ?
Git is a free and open source distributed version control system designed to handle
everything from small to very large projects with speed and efficiency. Git is easy to
learn and has a tiny footprint with lightning fast performance.
What is Github?
----- Github is a site based on an open source version control system known as git,
like other version control software git helps with tracking changes to a repository which
is in simple terms a collection of files and folders.
What is docker?
Docker is a popular open-source project based on Linux containers. Docker is written in
go and developed by Dotcloud (A PaaS Company). It is basically a container engine
that uses the Linux Kernel features like namespaces and control groups to create
containers on top of an operating system.
---- :EBS stands for Elastic Block Stores. They are persistent volumes that you can
attach to the instances. With EBS volumes, your data will be preserved even when you stop
your instances, unlike your instance store volumes where the data is deleted when you stop
the instances.
What is AMI ?
---- Ami stands for amazon machine image. We can take backup of instances with AMI.
----AMI is a template that contains the software configurations, launch permission and a
block device mapping that specifies the volume to attach to the instance when it is launched.
---- A security group acts as a virtual firewall that controls the traffic for one or more
instances. You can add rules to each security group that allow traffic to or from its
associated instances.
How many types of instances are available in EC2?
What is S3 ?
-----S3 stands for Simple Storage Service. S3 is a aws manage service which use to
store data it is an object storage.
Standard
Infrequently Accessed
Glacier
Deep Glacier
Intelligent Tier
What is the minimum and maximum size of Object, we can store in S3?
● What is VPC ?
---- Vpc stands for virtual private cloud. We can create an Isolate (Private) environment.1 vpc, 2
subnets,3 rout tables, 4. internet gateway 5 Nat gateway.These are the components of VPC.
---- Internet Gateway is used to allow resources in your VPC to access the internet.
---- You can use a network address translation (NAT) gateway to enable instances in
a private subnet to connect to the internet or other AWS services, but prevent the
internet from initiating a connection with those instances.
----Each security group can have up to 50 inbound rules and 50 outbound rules.
---- An Elastic IP address is a reserved public IP address that you can assign to
any EC2 instance in a particular region, until you choose to release it.
What are the types of load balancer?
---- Three types of Load balancer
1. Application load balancer
2. Network load balancer and
3. Classic load balancer
----- Best example of the same is the HA (High Availability) of unipune website, which
is highly available just because of the Load Balancing.
I have an EC2 server and in that server, how to access a RDS DB Instance
by using CLI?
----- By using command “mysql -h [endpoint_of_RDS_DB_Instance] -P 3306 -u
[username] -p”
How to access office servers when you are doing WFH and also in case
you are not having access to the VPN?
----- Yes, but, for that purpose, I need to whitelist my IP (port number and ICMP
protocol if needed) in a security group which I assigned to that Instance.