Web Hosting Practice Test — Questions and Answers
Question 1: Which US domain registrar is also one of the largest web hosting companies?
- ICANN
- Verisign
- GoDaddy (Correct answer)
- IANA
Correct answer: GoDaddy
GoDaddy is one of the largest domain registrars in the US and also offers web hosting, website builders, and SSL certificates as a full-service provider.
Question 2: A site under a DDoS attack stays online thanks to which protective service?
- Disabling backups
- Raising the TTL to a week
- A larger MX record
- A CDN with DDoS mitigation (Correct answer)
Correct answer: A CDN with DDoS mitigation
CDNs with DDoS mitigation absorb and filter malicious traffic at the edge.
Question 3: What does 'Let's Encrypt' provide to web hosting customers?
- Website security scanning tools
- Paid premium SSL certificates
- Free automated SSL/TLS certificates trusted by all major browsers (Correct answer)
- Domain registration services
Correct answer: Free automated SSL/TLS certificates trusted by all major browsers
Let's Encrypt is a free, automated, and open certificate authority that provides trusted SSL/TLS certificates at no cost, making HTTPS accessible to all website owners.
Question 4: A client's email lands in spam due to a missing authentication record. Which DNS record helps verify the sending mail server?
- PTR-only record
- A record
- NS record
- SPF record (Correct answer)
Correct answer: SPF record
An SPF record lists which servers are authorized to send mail for a domain.
Question 5: What is the recommended PHP version for optimal WordPress performance as of 2025?
- PHP 4.4
- PHP 5.6
- PHP 7.0
- PHP 8.2 or higher (Correct answer)
Correct answer: PHP 8.2 or higher
PHP 8.2 or higher is recommended for WordPress in 2025 as it offers significant performance improvements over older versions and receives active security support.
Question 6: What is a disk space quota in shared hosting?
- The bandwidth cap for your website's monthly data transfer
- The maximum number of individual files you can upload
- The maximum amount of storage allocated to your hosting account (Correct answer)
- The speed limit applied to file transfers on the server
Correct answer: The maximum amount of storage allocated to your hosting account
Disk space quota is the total storage allocated to your account for website files, databases, emails, and backups combined.
Question 7: What is 'power redundancy' in dedicated server hosting?
- Overclocking the server PSU
- Having two identical servers in different locations
- Having a UPS and multiple power feeds so the server stays online if one power source fails (Correct answer)
- Using low-power CPUs
Correct answer: Having a UPS and multiple power feeds so the server stays online if one power source fails
Power redundancy means the server has backup power sources such as a UPS and dual PSUs connected to separate feeds, ensuring it stays online if one power source fails.
Question 8: Why is shared hosting generally not recommended for high-traffic websites?
- It cannot host more than one domain name
- Resource constraints can cause slowdowns during traffic surges (Correct answer)
- Users must manage server hardware manually
- It lacks support for email hosting
Correct answer: Resource constraints can cause slowdowns during traffic surges
Shared hosting has fixed resource limits, and traffic spikes can exhaust available CPU and RAM, resulting in slow load times or errors.
Question 9: Which type of hosting is most appropriate for a high-traffic e-commerce site processing thousands of transactions per minute?
- Dedicated server hosting (Correct answer)
- Shared hosting
- Free hosting
- Subdomain 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 10: What does the WordPress 'wp-config.php' file contain?
- Your WordPress posts and pages
- A list of installed plugins
- Critical configuration settings including database credentials, security keys, and debug settings (Correct answer)
- Your theme's CSS styles
Correct answer: Critical configuration settings including database credentials, security keys, and debug settings
The wp-config.php file is the core WordPress configuration file containing database connection details, authentication keys, table prefix, debug settings, and other critical parameters.
Question 11: Which of the following is a valid reason to choose dedicated hosting over VPS for a US-based business?
- Your site gets under 100 visitors per day
- You want the cheapest possible option
- You only need 1GB RAM
- You handle sensitive financial data requiring PCI DSS compliance with physical isolation (Correct answer)
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 12: What does 'server hardening' involve on a dedicated server?
- Reducing the server's attack surface by disabling unused services, setting strong permissions, and applying security patches (Correct answer)
- Overclocking the CPU
- Adding more hard drives
- Installing more RAM
Correct answer: Reducing the server's attack surface by disabling unused services, setting strong permissions, and applying security patches
Server hardening involves securing a dedicated server by disabling unused services, applying patches, configuring firewalls, and setting strict permissions to minimize vulnerabilities.
Question 13: What does 'HTTP Strict Transport Security' (HSTS) do for a hosted website?
- Caches static content on CDN nodes
- Enables HTTP/2 protocol support
- Forces visitors to use a username and password
- Instructs browsers to only connect to your site over HTTPS, preventing protocol downgrade attacks (Correct answer)
Correct answer: Instructs browsers to only connect to your site over HTTPS, preventing protocol downgrade attacks
HSTS is an HTTP header that tells browsers to always use HTTPS when connecting to your site, preventing man-in-the-middle attacks that try to downgrade connections to unencrypted HTTP.
Question 14: What is a 'TXT record' commonly used for in DNS?
- Storing descriptive text about the domain for browsers
- Storing verification and authentication strings like SPF, DKIM, and Google/domain ownership verification codes (Correct answer)
- Pointing the domain to a web server
- Setting up email forwarding
Correct answer: Storing verification and authentication strings like SPF, DKIM, and Google/domain ownership verification codes
TXT records store arbitrary text strings in DNS and are widely used for domain ownership verification (Google Search Console), SPF email authentication, and DKIM public keys.
Question 15: What does DNS stand for in web hosting?
- Data Network System
- Direct Network Service
- Domain Name System (Correct answer)
- Digital Naming Standard
Correct answer: Domain Name System
DNS (Domain Name System) is the internet's directory that translates human-readable domain names like example.com into IP addresses that computers use to locate servers.
Question 16: What is an 'A record' in DNS?
- A record that stores email server information
- A record that points a domain to another domain
- A record that maps a domain name to an IPv4 address (Correct answer)
- A record that verifies domain ownership
Correct answer: A record that maps a domain name to an IPv4 address
An A record is a DNS record type that maps a domain name or subdomain to a specific IPv4 address, directing web traffic to the correct server.
Question 17: 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 DNS record that blocks all subdomains
- A record for internationalized domain names
- A temporary DNS record that expires automatically
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 18: What is a 'subdomain' in web hosting?
- A domain with no www prefix
- A domain registered in a different country
- A second domain name purchased separately
- A prefix added to the root domain creating a separate address (e.g., blog.example.com) (Correct answer)
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 19: A group of links that serve as a "trail" for users to follow back to a website's homepage or entry point. They typically appear at the top of a page.
- Multi-tier menu
- Deep navigation
- Text only navigation
- Breadcrumb Trail (Correct answer)
Correct answer: Breadcrumb Trail
The correct answer is Breadcrumb Trail. A breadcrumb trail is a secondary navigation scheme that reveals the user's location on a website or web application, typically appearing at the top of a page. It provides a 'trail' of links back to higher-level pages, including the homepage, helping users understand their current position within the site's hierarchy. Options like 'Text only navigation,' 'Deep navigation,' and 'Multi-tier menu' describe general navigation types or structures, but not the specific 'trail' concept for showing location.
Question 20: What is reseller hosting best suited for?
- Storing personal photos only
- Sending bulk spam email
- Agencies selling hosting packages to their own clients (Correct answer)
- Running a single landing page
Correct answer: Agencies selling hosting packages to their own clients
Reseller hosting lets agencies allocate server resources and sell branded hosting to clients.
Question 21: What is a cron job in shared hosting?
- A background process that continuously monitors server resource usage
- A security scan triggered automatically by suspicious server activity
- A database optimization routine that runs during low-traffic periods
- An automated task scheduled to execute at specific times or intervals (Correct answer)
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 22: What is the 'noisy neighbor' effect in shared hosting?
- When a nearby data center causes network interference
- When neighboring IP addresses are flagged for spam
- When server cooling systems generate performance issues
- When one website on a shared server consumes excessive resources, slowing down others (Correct answer)
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 23: What is the most common reason websites migrate away from shared hosting?
- Search engines penalize websites hosted on shared server IP addresses
- Shared hosting does not support custom domain names or email accounts
- Shared hosting plans automatically expire after a set number of years
- Growing traffic and resource demands exceed what shared environments can reliably provide (Correct answer)
Correct answer: Growing traffic and resource demands exceed what shared environments can reliably provide
As a website's traffic and complexity grow, its resource requirements outpace shared hosting's limits, necessitating a move to VPS or dedicated servers.
Question 24: What does 'IPMI' allow a dedicated server administrator to do?
- Configure firewall rules via GUI
- Remotely manage the server hardware including rebooting and reinstalling OS even if the server is offline (Correct answer)
- Monitor website uptime from a browser
- Increase RAM automatically
Correct answer: Remotely manage the server hardware including rebooting and reinstalling OS even if the server is offline
IPMI (Intelligent Platform Management Interface) provides out-of-band remote management of server hardware, allowing administrators to reboot and reinstall the OS even when it is completely offline.
Question 25: Web Hosting can also be interpreted as a place to store data in the form of ...
- Megabites
- Terabyte (Correct answer)
- Gigabite
- Kilobyte
Correct answer: Terabyte
Web hosting involves storing large amounts of data, and modern hosting plans often provide storage in gigabytes (GB) or terabytes (TB) to accommodate website files, databases, and emails. While megabytes and kilobytes are units of storage, terabyte represents a more common and substantial capacity offered for web hosting data storage.
Question 26: What type of IP address do websites on shared hosting typically receive?
- A shared IP address used by multiple websites simultaneously (Correct answer)
- A dedicated static IP address unique to the site
- An IPv6-only address assigned per account
- A dynamic IP address that rotates daily
Correct answer: A shared IP address used by multiple websites simultaneously
On shared hosting, many websites share the same IP address, unlike dedicated hosting where each site receives its own unique IP.
Question 27: What is a key reason a business chooses a host with 24/7 technical support?
- It removes the need for SSL
- It eliminates monthly fees
- Issues can be resolved any time to limit revenue loss (Correct answer)
- It guarantees more website visitors
Correct answer: Issues can be resolved any time to limit revenue loss
Round-the-clock support means outages and problems can be fixed whenever they occur.
Question 28: What is the purpose of an out-of-band (OOB) network on a dedicated server?
- To serve content to end users faster
- To provide a separate management network that works even when the main network is down (Correct answer)
- To connect multiple servers in a cluster
- To route traffic through a CDN
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 29: What typically happens when a website exceeds the CPU usage limit on shared hosting?
- The account is permanently suspended without any prior warning
- The site may slow down, return errors, or be temporarily throttled (Correct answer)
- All traffic is automatically rerouted to a backup server
- The hosting provider automatically upgrades the account to a higher plan
Correct answer: The site may slow down, return errors, or be temporarily throttled
Hosts throttle or temporarily restrict CPU access when accounts exceed their limits to protect the overall server performance for all users.
Question 30: What is 'mod_security' in Apache web hosting?
- A module for increasing server speed
- A module for managing SSL certificates
- A module for compressing static files
- An open-source WAF module for Apache that filters HTTP requests to block common web attacks (Correct answer)
Correct answer: An open-source WAF module for Apache that filters HTTP requests to block common web attacks
ModSecurity is an open-source WAF module for Apache that inspects HTTP requests in real time and blocks those matching patterns for SQL injection, XSS, and other common attacks.
Question 31: What is 'hotlinking' and why should hosting customers prevent it?
- A CDN configuration method
- A fast caching technique
- When external websites embed your images directly using your server's URL, consuming your bandwidth and resources (Correct answer)
- A type of phishing attack
Correct answer: When external websites embed your images directly using your server's URL, consuming your bandwidth and resources
Hotlinking occurs when other websites directly link to images or files on your server, causing those external sites to consume your hosting bandwidth and potentially driving up costs.
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