AWS Interview Reviews
AWS Interview Reviews
Application
HTTP FTP SMTP 10.0.0.0/8 network Transmission Control Protocol
172.16.0.0/12 designed to send data packets over
Presentation
JPEG GI, AMPEG
192.168.0.0/16 internet, it is widely being used for
Session.
Apple Talk WinSock
L is asceloin ive heaoler/Htp/DVS reliablity, integrity
Is a value in the IP to identify how long
the packet was in the network and TCP Header
Transport
TCP, UDP SPX whether to accept or discard it.
header is 20 bytes, it contains number of
field, 10 mandatory fields and additional
Network
E ICMP, IPX (Touter)
TTL=0meanIn DNS means do not
cache this record
optional field
Physical
Ethenet Token Ring (hup.repeater
CNAME-> Domain name to DN
TCP Flags
MX-> mail exchange
control bits that indicate different
Open System Interconnection is a NS-> nameserver records
connection states or information about
AAAA-> IPVv6
reference model for how applications how a packet should be handled.
can communicate over a network. #Tuenonte
ace Route Flag Description
traceroute-> Linux-> UDP RG Th* value ofthe urgentpointer field is valid
traceroute-> Windows-> ICMP ACK The value of the aknow ledgmeni held is vald
504: Gatewaytimeout | 502: Bad gateway 26.7.14.tataide.co. in t14.97.26.161 receive in a single TCP segment
at in..na.tateide,vo.Lo (i4.thsio
Tcpdump teaiate.
UDP
Traceroute i-14a.24.7.14.tataia.in- in i4.97.26 .1481
tupluapi shva
f da á conto» P
wetyiut port unreachable.
T5.1KE a-1.
r o t t ado,iozaojetmk eth
netstat Huge pages
Linux Run Level: Capable of producing information related to HugePagesmakes it possible for the
etc/inittab Set Linux Runlelvel network connections, routing tables, operating system to support memory pages
Files is in /etc/rc.d/re interface statistics etc greater than the default (usually 4KB)
netstat-Ipn | grep 8080
Run
Level
Name Description Superblock
Virtual Memory/Pagingin Linux
The part of the hard disk that is used as virtu
meta data information about the filesystem memory is called the swap space. Linux ca
D Halt Shuts down all services when the
5ystem will nor be rebooted such as filesystem UUID use either a normal file in the filesystem or
Used for system maintenance.
df-h
dumpe2fs mount_polntigrep-Isuperb separate partition for swap space. .. Pagin
Single User | no Networking capabuities. Is usually more efficient, and that i
inode what Linux does, but tradition
maintenance index node contains metadata information
systemtortesting
and
2 MultiUser Used
MultiUser
NO NedwoVK S U P O T
(file size, file type, etc.) for a file system
Linux terminology talks about swappin
object (like a file or a directory) anyway. Pani clon sBorts dl 7«d sto
| operations Text Mode
3 Multiuser
Network Support
Non-Graphical
for server systems.
6 Reboot
Shuts down all servlces when
the system is being rebooted. df-i (system global) 35.7wa: CPl ailioz Surl10
Is-i/stat
0.0%s: %CPU Csd by Softuraeaternpts
0,1%at: Steal timef Read belis d a i a
ower ONREtn
BIOS/System
u limit
System Startup/Harctware initilazation User limits such as processes, open files
Boot loader Stage 1 MBR loading letc/security/limits.conf ProcessesS
Boot loader Stage 2 0 sched / swapper
Linux OS
Sympolic link vs Hard Link 1 init
Kernel Sympolic is like shortcut In -s
Hard link map to the exact file (new) > In Note [kthreadd]> Kerenl Core
INI Process Run levels
ToCheckIs-ali
Dser commands
fstab
File permissions:
4 read/2 write /1 execute
Is where we put the permanent
configuration to mount a device or NFS.
775public will have read + execute
1775 rwx:g&u+ rx:all + parity check
RAID
Chmod to change permissions
Redundant Array of Inexpensive Disks List hard disk using:
Isblk | df-h | Is-s/dev/sd* | fdisk chmod 777 /test-R
Raid Level|Protection Disks NoFT
Stripping None Chown to change ownership/ chgrp
var chown-R user:group /test
Mirroring Contains files to which the system
Stripe with P |3
Stripe with IP4 writes data during the course of its Symbolic Mode
MrorOr SPR4 2 operation. var/log/messages /v/cache Operator | Desc. u User/owner
10 Adds
g Group
Difference betweenload averageand cPULoad: Removes o Other
Load average is the median cpu work in 1, 5 or Sets
ovemide
a | All
15 minutes while the CPU load is the current
CPU load currently uUser/owner
Raid 0 Raid 1
Raid 5 Raid
A Cogele outan a Orack wtnc t kto
prooluction outgt tht as a oM
Wa to act jwnekatuh a co -o poott te wor bete
the vespowble act team CC "CowCaln q
to hmt
all t h Tea to acsooist the be recow fi
allsorviue ba
fa me
optiminer
w t Mau
vesiom o tCytou
amd
ob aleauy Senilt all uyce
OOw
N Cogla sh do n e wclhy
w to a ne
all daty all
wEi
eett
as
ay ll aaj al
ell
Drn
TTM treu uhphe whte pags rowliy-Orak