Web Hosting Practice Test — Questions and Answers
Question 1: Why is choosing a reputable host with strong physical data center security important?
- It writes the site's content
- It improves the website's font choices
- It registers trademarks
- It protects servers and customer data from physical threats (Correct answer)
Correct answer: It protects servers and customer data from physical threats
Physical security controls protect hardware and the sensitive data stored on it.
Question 2: What is 'directory listing' in web hosting and why should it be disabled?
- When a web server displays all files in a folder as a browsable list when no index file exists, potentially exposing sensitive files (Correct answer)
- A sitemap of your website pages
- A list of installed WordPress plugins
- The server's list of active virtual hosts
Correct answer: When a web server displays all files in a folder as a browsable list when no index file exists, potentially exposing sensitive files
Directory listing causes the web server to display all files in a folder as a clickable list when no index.html exists, which can expose sensitive files, backups, and configuration data.
Question 3: What is WHOIS in the context of domain registration?
- A public database that shows ownership and contact information for registered domain names (Correct answer)
- A web analytics tool
- A type of SSL certificate
- A domain availability checker only
Correct answer: A public database that shows ownership and contact information for registered domain names
WHOIS is a public database that stores and displays registration information for domain names including owner contact details, registration date, expiry date, and registrar.
Question 4: What is shared hosting?
- A hosting type where users rent virtual machines on cloud infrastructure
- A hosting type where one website has an entire server to itself
- A hosting type where multiple websites share the same physical server and its resources (Correct answer)
- A hosting type where websites are hosted across multiple servers simultaneously
Correct answer: A hosting type where multiple websites share the same physical server and its resources
Shared hosting places multiple websites on one physical server, dividing its CPU, RAM, and storage among all accounts.
Question 5: What is 'PCI DSS' compliance requirement for US e-commerce hosting?
- An email marketing compliance standard
- A website speed standard
- A US government web hosting regulation
- Payment Card Industry Data Security Standard — a set of security requirements for businesses that process credit card payments (Correct answer)
Correct answer: Payment Card Industry Data Security Standard — a set of security requirements for businesses that process credit card payments
PCI DSS (Payment Card Industry Data Security Standard) is a mandatory security framework that US businesses accepting credit card payments must comply with, covering hosting infrastructure, encryption, and access control.
Question 6: What is a cron job in shared hosting?
- A database optimization routine that runs during low-traffic periods
- An automated task scheduled to execute at specific times or intervals (Correct answer)
- A background process that continuously monitors server resource usage
- A security scan triggered automatically by suspicious server activity
Correct answer: An automated task scheduled to execute at specific times or intervals
Cron jobs are scheduled commands that run automatically at defined intervals, commonly used for tasks like sending emails, generating reports, or running backups.
Question 7: What is an SSL/TLS certificate and why is it essential for US hosting customers?
- A cryptographic certificate that encrypts data between visitor browsers and the server, required for HTTPS and trusted by Google (Correct answer)
- A backup service certificate
- A marketing certificate proving website quality
- A domain ownership registration document
Correct answer: A cryptographic certificate that encrypts data between visitor browsers and the server, required for HTTPS and trusted by Google
An SSL/TLS certificate enables HTTPS by encrypting data transmitted between a visitor's browser and the web server, protecting sensitive data and required by Google as a ranking signal.
Question 8: Which of the following is the primary advantage of shared hosting over other hosting types?
- Complete control over server configuration
- Dedicated resources no other website can access
- Guaranteed high performance regardless of traffic spikes
- Lower cost due to resource sharing among many users (Correct answer)
Correct answer: Lower cost due to resource sharing among many users
Shared hosting is the most affordable option because the cost of the server is split among all accounts hosted on it.
Question 9: What is a 'CNAME record' used for in DNS?
- Mapping a domain to an IP address
- Creating an alias that points one domain name to another domain name (Correct answer)
- Setting email server priority
- Storing TXT verification strings
Correct answer: Creating an alias that points one domain name to another domain name
A CNAME (Canonical Name) record creates an alias pointing one subdomain to another domain name, commonly used to point www.example.com to example.com.
Question 10: What does 'domain locking' protect against?
- Domain expiration
- Unauthorized domain transfers to another registrar without owner approval (Correct answer)
- DNS cache poisoning
- Unauthorized website changes
Correct answer: Unauthorized domain transfers to another registrar without owner approval
Domain locking (Registrar Lock) prevents unauthorized domain transfers by requiring the lock to be disabled before a transfer to another registrar can be initiated.
Question 11: What is the purpose of an out-of-band (OOB) network on a dedicated server?
- To connect multiple servers in a cluster
- To serve content to end users faster
- To route traffic through a CDN
- To provide a separate management network that works even when the main network is down (Correct answer)
Correct answer: To provide a separate management network that works even when the main network is down
An out-of-band network is a separate management network that allows administrators to access and manage a dedicated server even when the primary network interface is down or the OS has crashed.
Question 12: What does installing an SSL/TLS certificate provide for a website on shared hosting?
- Higher search engine rankings through automated keyword optimization
- Encrypted connections between the visitor's browser and the web server (Correct answer)
- Protection against distributed denial-of-service (DDoS) attacks
- Faster page load times through automatic file compression
Correct answer: Encrypted connections between the visitor's browser and the web server
SSL/TLS encrypts all data transmitted between the user's browser and the server, protecting sensitive information like passwords and payment details.
Question 13: What is the 'noisy neighbor' effect in shared hosting?
- When one website on a shared server consumes excessive resources, slowing down others (Correct answer)
- When server cooling systems generate performance issues
- When neighboring IP addresses are flagged for spam
- When a nearby data center causes network interference
Correct answer: When one website on a shared server consumes excessive resources, slowing down others
The noisy neighbor effect occurs when one account's high resource usage degrades the performance of other websites on the same server.
Question 14: What does TTL on a DNS record control?
- The server's RAM limit
- The FTP port number
- How long resolvers cache the record (Correct answer)
- The SSL key length
Correct answer: How long resolvers cache the record
TTL (time to live) sets how long a DNS record is cached before resolvers re-query.
Question 15: What does 'CSP' (Content Security Policy) protect against in web hosting?
- SSL certificate expiration
- Cross-site scripting (XSS) attacks by specifying which sources browsers are allowed to load scripts, styles, and other resources from (Correct answer)
- Server-side code injection
- DDoS attacks targeting your server
Correct answer: Cross-site scripting (XSS) attacks by specifying which sources browsers are allowed to load scripts, styles, and other resources from
Content Security Policy (CSP) is an HTTP header that restricts which sources a browser can load scripts, styles, and other resources from, significantly reducing XSS attack risk.
Question 16: Which control panel is one of the most widely used for managing Linux-based shared hosting?
- Slack
- Photoshop
- Microsoft Word
- cPanel (Correct answer)
Correct answer: cPanel
cPanel is a popular graphical control panel for managing Linux web hosting accounts.
Question 17: What is the advantage of a staging environment included in a hosting plan?
- It lowers the domain price
- Test changes safely before pushing them live (Correct answer)
- It doubles website traffic
- It auto-writes blog posts
Correct answer: Test changes safely before pushing them live
A staging site lets you test updates without risking the live production website.
Question 18: DNS stands for what?
- Disconnected Name Services
- Domain Naming Service
- Domain Name Service (Correct answer)
Correct answer: Domain Name Service
DNS is an acronym that stands for Domain Name Service (or Domain Name System). It is a hierarchical and decentralized naming system for computers, services, or any resource connected to the Internet or a private network. Its primary function is to translate human-readable domain names into numerical IP addresses, allowing web browsers to locate and load internet resources.
Question 19: Which record type must you create to point your domain to a hosting server's IPv4 address?
- A record (Correct answer)
- CNAME record
- TXT record
- MX record
Correct answer: A record
An A record maps a hostname to an IPv4 address.
Question 20: Which type of hosting is most appropriate for a high-traffic e-commerce site processing thousands of transactions per minute?
- Subdomain hosting
- Shared hosting
- Dedicated server hosting (Correct answer)
- Free hosting
Correct answer: Dedicated server hosting
Dedicated server hosting provides the highest performance and security, making it ideal for high-traffic e-commerce sites that require consistent resources and PCI compliance.
Question 21: Which protocol is commonly used to securely upload files to a hosting server?
- POP3
- SMTP
- SFTP (Correct answer)
- ICMP
Correct answer: SFTP
SFTP transfers files over an encrypted SSH connection, unlike plain FTP.
Question 22: What is a 'wildcard DNS record' (*.example.com)?
- A DNS record that matches any subdomain not explicitly defined, routing all unspecified subdomains to one IP (Correct answer)
- A temporary DNS record that expires automatically
- A DNS record that blocks all subdomains
- A record for internationalized domain names
Correct answer: A DNS record that matches any subdomain not explicitly defined, routing all unspecified subdomains to one IP
A wildcard DNS record (*.example.com) matches any subdomain that doesn't have an explicit DNS record, routing all unspecified subdomains to the designated IP address.
Question 23: What is a 'subdomain' in web hosting?
- A second domain name purchased separately
- A domain with no www prefix
- A prefix added to the root domain creating a separate address (e.g., blog.example.com) (Correct answer)
- A domain registered in a different country
Correct answer: A prefix added to the root domain creating a separate address (e.g., blog.example.com)
A subdomain is an extension prefixed to the root domain (e.g., blog.example.com or shop.example.com) that can point to different servers or directories than the main domain.
Question 24: What is a 'colocation' (colo) hosting arrangement?
- Renting space in a data center to house your own physical server hardware (Correct answer)
- Hosting multiple websites on one server
- Hosting servers in multiple countries simultaneously
- A type of shared hosting with better resources
Correct answer: Renting space in a data center to house your own physical server hardware
Colocation means you own the physical server hardware and pay a data center to house it, providing its power, cooling, bandwidth, and physical security.
Question 25: How does reseller hosting differ from standard shared hosting?
- Standard shared hosting supports more websites than reseller hosting
- Reseller hosting offers more storage but significantly less bandwidth
- Reseller hosting always uses dedicated servers instead of shared ones
- Reseller hosting allows you to create and sell hosting accounts to your own clients (Correct answer)
Correct answer: Reseller hosting allows you to create and sell hosting accounts to your own clients
Reseller hosting lets you purchase resources in bulk and resell them as individual hosting accounts to your own customers under your own brand.
Question 26: What is the defining characteristic of dedicated server hosting?
- You only get a virtual partition of a server
- Resources are dynamically allocated from a pool
- You share the server with hundreds of other users
- You rent an entire physical server exclusively for your own use (Correct answer)
Correct answer: You rent an entire physical server exclusively for your own use
In dedicated server hosting, the client rents an entire physical server that is not shared with any other customers, providing maximum performance and control.
Question 27: Which of the following is a valid reason to choose dedicated hosting over VPS for a US-based business?
- You only need 1GB RAM
- You want the cheapest possible option
- You handle sensitive financial data requiring PCI DSS compliance with physical isolation (Correct answer)
- Your site gets under 100 visitors per day
Correct answer: You handle sensitive financial data requiring PCI DSS compliance with physical isolation
PCI DSS compliance for financial data often requires physical server isolation that only dedicated hosting provides, as shared hardware may not meet compliance requirements.
Question 28: Which cloud hosting model provides virtualized computing resources over the internet on demand?
- PaaS
- FaaS
- SaaS
- IaaS (Correct answer)
Correct answer: IaaS
IaaS (Infrastructure as a Service) provides virtualized computing resources like VMs, storage, and networking over the internet on a pay-as-you-go basis.
Question 29: What are 'nameservers' in domain hosting?
- The web servers that host your website files
- DNS servers that store all DNS records for a domain and answer DNS queries for it (Correct answer)
- FTP servers for uploading website files
- Email servers for your domain
Correct answer: DNS servers that store all DNS records for a domain and answer DNS queries for it
Nameservers are specialized DNS servers that store all DNS records for a domain and respond to queries, directing traffic to the correct web, email, and other servers.
Question 30: What is the significance of a data center's Tier rating (Tier I–IV)?
- It rates the data center's infrastructure redundancy and uptime guarantee (Correct answer)
- It shows the number of customers hosted
- It indicates the server's CPU speed
- It classifies the data center's geographic location
Correct answer: It rates the data center's infrastructure redundancy and uptime guarantee
A data center's Tier rating (I through IV) indicates its level of infrastructure redundancy, with Tier IV offering the highest redundancy and 99.995% uptime guarantee.
Question 31: What does FTP stand for and what is it used for in shared hosting?
- Fast Transfer Process — speeds up website loading
- File Transfer Protocol — uploads and downloads files between your computer and the server (Correct answer)
- File Transfer Program — manages server-side file permissions
- Folder Transfer Protocol — syncs folder structures between servers
Correct answer: File Transfer Protocol — uploads and downloads files between your computer and the server
FTP (File Transfer Protocol) is the standard method for transferring website files between a local computer and the web hosting server.
Web Hosting Practice Test
A comprehensive assessment covering core web hosting concepts including shared hosting, VPS and cloud environments, dedicated servers, domain and DNS management, and web hosting security practices.
Exam Rules
- You can skip questions and return to them later
- Flag questions for review before submitting
- No feedback shown until you submit the entire exam
- Unanswered questions count as wrong — answer everything
- 10 pretest questions are mixed in and don't affect your score
- Timer auto-submits when time runs out
- Your progress is auto-saved every 30 seconds