Technical Test Preparation
Technical Test Preparation
Networking Concepts
A: The OSI model is a conceptual framework used to understand network interactions. Its 7 layers
are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
A: TCP is connection-oriented, reliable, and ensures error checking. UDP is connectionless, faster,
A: A subnet mask divides an IP address into network and host parts, enabling efficient IP address
management.
A: Network Address Translation (NAT) maps private IP addresses to a public one, enabling devices
A: A VPN creates a secure, encrypted tunnel between the user and the network, ensuring privacy
and security.
Infrastructure Concepts
A: RAID (Redundant Array of Independent Disks) is used for data redundancy and performance.
Common levels: RAID 0 (striping), RAID 1 (mirroring), RAID 5 (striping with parity), RAID 10
A: Logical Volume Manager (LVM) allows for flexible disk management by creating logical volumes
A: A hypervisor is software for creating and managing virtual machines. Type 1 runs directly on
A: NAS (Network Attached Storage) is file-based storage accessible over a network. SAN (Storage
A: DNS (Domain Name System) translates human-readable domain names into IP addresses.
Cloud Storage
Q: What is object storage, and how does it differ from block storage?
A: Object storage stores data as objects with metadata and unique IDs, suitable for unstructured
data. Block storage divides data into fixed-size blocks for structured data.
A: AWS S3 ensures data durability through redundancy, storing copies across multiple facilities, and
automated checksums.
A: A cloud storage gateway acts as a bridge between on-premises infrastructure and cloud storage.
A: Data lifecycle management automates moving data between storage classes based on policies to
optimize costs.
Q: What is the difference between hot, warm, and cold storage?
A: Hot storage is for frequently accessed data, warm for less frequent, and cold for archival.
Python
try:
x=1/0
except ZeroDivisionError:
A: Lists are mutable and use [], while tuples are immutable and use ().
A: The Global Interpreter Lock (GIL) allows only one thread to execute at a time, limiting
A: A lambda function is an anonymous function defined with the lambda keyword, e.g., lambda x:
x+1.
SQL
A: DELETE removes rows selectively and logs each row. TRUNCATE removes all rows without
logging.
Q: Explain the concept of normalization in databases.
A: Normalization organizes data to reduce redundancy and dependency. Forms: 1NF, 2NF, 3NF.
A: JOIN combines rows from two tables based on a related column. Types: INNER JOIN, LEFT
A: WHERE filters rows before grouping; HAVING filters groups after grouping.
A: Indexes improve query performance by allowing faster data retrieval but may slow down
insert/update operations.