Spaces:
Running

undefined / practice-test.html
FatherEsper's picture
add all these certs in high demand for career advancement and cover IT, healthcare, finance, project management, and more.
34b0f72 verified
Raw History Blame Contribute Delete
18.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AWS Certified Cloud Practitioner Practice Test | CertifyHub</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#4F46E5',
secondary: '#10B981',
dark: '#1E293B',
light: '#F8FAFC'
}
}
}
}
</script>
<style>
.answer-option:hover {
background-color: #F3F4F6;
}
.answer-selected {
background-color: #E0E7FF;
border-color: #4F46E5;
}
.answer-correct {
background-color: #D1FAE5;
border-color: #10B981;
}
.answer-incorrect {
background-color: #FEE2E2;
border-color: #EF4444;
}
.progress-bar {
transition: width 0.3s ease;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i data-feather="award" class="text-primary h-8 w-8"></i>
<span class="ml-2 text-xl font-bold text-dark">CertifyHub</span>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a href="index.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a>
<a href="certifications.html" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Certifications</a>
<a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Study Tools</a>
<a href="#" class="border-primary text-dark inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Practice Tests</a>
</div>
</div>
<div class="hidden sm:ml-6 sm:flex sm:items-center">
<button class="bg-primary hover:bg-primary-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="user" class="mr-2 w-4 h-4"></i> Sign In
</button>
</div>
<div class="-mr-2 flex items-center sm:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Test Header -->
<div class="bg-white shadow">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
<div class="flex flex-col md:flex-row md:items-center md:justify-between">
<div>
<h1 class="text-xl font-bold text-dark">AWS Certified Cloud Practitioner Practice Test</h1>
<p class="text-sm text-gray-600 mt-1">Exam Domain: Cloud Concepts</p>
</div>
<div class="mt-4 md:mt-0 flex items-center">
<div class="flex items-center text-sm text-gray-600">
<i data-feather="clock" class="w-4 h-4 mr-1"></i> 30 min remaining
</div>
<button class="ml-4 px-3 py-1 border border-red-300 rounded-md text-sm font-medium text-red-600 hover:bg-red-50 flex items-center">
<i data-feather="x" class="w-4 h-4 mr-1"></i> Exit
</button>
</div>
</div>
</div>
</div>
<!-- Progress Bar -->
<div class="bg-gray-200 h-2">
<div class="bg-primary h-2 progress-bar" style="width: 25%"></div>
</div>
<!-- Test Content -->
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6 sm:p-8">
<!-- Question Info -->
<div class="flex justify-between items-center mb-6">
<span class="text-sm font-medium text-primary">Question 4 of 20</span>
<span class="text-sm font-medium text-gray-500">4 points</span>
</div>
<!-- Question -->
<div class="mb-8">
<h2 class="text-lg font-medium text-dark">Which of the following is a benefit of using cloud computing?</h2>
</div>
<!-- Answer Options -->
<div class="space-y-4">
<div class="answer-option p-4 border rounded-lg cursor-pointer answer-selected">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="option-a" name="answer" type="radio" class="focus:ring-primary h-4 w-4 text-primary border-gray-300" checked>
</div>
<div class="ml-3 text-sm">
<label for="option-a" class="font-medium text-dark">A. Reduced capital expenditures</label>
<p class="text-gray-600 mt-1">Cloud computing eliminates the need for upfront hardware investments.</p>
</div>
</div>
</div>
<div class="answer-option p-4 border rounded-lg cursor-pointer">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="option-b" name="answer" type="radio" class="focus:ring-primary h-4 w-4 text-primary border-gray-300">
</div>
<div class="ml-3 text-sm">
<label for="option-b" class="font-medium text-dark">B. Guaranteed 100% uptime</label>
<p class="text-gray-600 mt-1">Cloud providers ensure no downtime for any services.</p>
</div>
</div>
</div>
<div class="answer-option p-4 border rounded-lg cursor-pointer">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="option-c" name="answer" type="radio" class="focus:ring-primary h-4 w-4 text-primary border-gray-300">
</div>
<div class="ml-3 text-sm">
<label for="option-c" class="font-medium text-dark">C. Complete data security</label>
<p class="text-gray-600 mt-1">All security responsibilities are handled by the cloud provider.</p>
</div>
</div>
</div>
<div class="answer-option p-4 border rounded-lg cursor-pointer">
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="option-d" name="answer" type="radio" class="focus:ring-primary h-4 w-4 text-primary border-gray-300">
</div>
<div class="ml-3 text-sm">
<label for="option-d" class="font-medium text-dark">D. Unlimited storage capacity</label>
<p class="text-gray-600 mt-1">Cloud services provide infinite storage with no costs.</p>
</div>
</div>
</div>
</div>
<!-- Explanation (shown after answer submission) -->
<div class="mt-8 p-4 bg-blue-50 rounded-lg hidden" id="explanation">
<h3 class="text-sm font-medium text-blue-800">Explanation</h3>
<p class="mt-2 text-sm text-blue-700">
The correct answer is A. Reduced capital expenditures. Cloud computing follows a pay-as-you-go model which eliminates the need for large upfront investments in hardware. While cloud providers offer high availability, they don't guarantee 100% uptime (B). Security is a shared responsibility (C), and storage is not unlimited nor free (D).
</p>
</div>
<!-- Navigation Buttons -->
<div class="mt-8 flex justify-between">
<button class="inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
<i data-feather="arrow-left" class="mr-2 w-4 h-4"></i> Previous
</button>
<button id="submit-btn" class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary hover:bg-primary-700">
Submit Answer
</button>
<button id="next-btn" class="hidden inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary hover:bg-primary-700">
Next Question <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Sidebar for Question Navigation -->
<div class="hidden lg:block fixed right-0 top-0 h-full w-64 bg-white shadow-lg overflow-y-auto pt-16">
<div class="p-4">
<h3 class="text-lg font-medium text-dark mb-4">Questions</h3>
<div class="grid grid-cols-4 gap-2">
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-primary text-white">1</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">2</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">3</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-primary text-white font-bold border-2 border-primary">4</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">5</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">6</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">7</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">8</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">9</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">10</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">11</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">12</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">13</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">14</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">15</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">16</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">17</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">18</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">19</a>
<a href="#" class="flex items-center justify-center h-10 w-10 rounded-full bg-gray-100 text-dark">20</a>
</div>
<button class="mt-6 w-full flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-secondary hover:bg-secondary-700">
<i data-feather="check-circle" class="mr-2 w-4 h-4"></i> Submit Test
</button>
</div>
</div>
<!-- Footer -->
<footer class="bg-dark text-white">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8">
<div>
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Certifications</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-400 hover:text-white">IT & Cloud</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Healthcare</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Finance</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Project Management</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Study Tools</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-400 hover:text-white">Practice Tests</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Study Guides</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Flashcards</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Exam Simulators</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Company</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-400 hover:text-white">About</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Blog</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Careers</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Legal</h3>
<ul class="mt-4 space-y-4">
<li><a href="#" class="text-base text-gray-400 hover:text-white">Privacy</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Terms</a></li>
<li><a href="#" class="text-base text-gray-400 hover:text-white">Cookie Policy</a></li>
</ul>
</div>
</div>
<div class="mt-12 border-t border-gray-700 pt-8 flex flex-col md:flex-row justify-between">
<p class="text-base text-gray-400">
&copy; 2023 CertifyHub. All rights reserved.
</p>
<div class="mt-4 md:mt-0 flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="twitter" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="facebook" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="instagram" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i data-feather="linkedin" class="h-6 w-6"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
feather.replace();
// Simple interaction for the practice test
document.getElementById('submit-btn').addEventListener('click', function() {
// Show explanation
document.getElementById('explanation').classList.remove('hidden');
// Highlight correct answer (A in this case)
const options = document.querySelectorAll('.answer-option');
options.forEach(option => {
option.classList.remove('answer-selected');
if (option.querySelector('label').textContent.includes('A.')) {
option.classList.add('answer-correct');
} else {
option.classList.add('answer-incorrect');
}
});
// Change button to next question
this.classList.add('hidden');
document.getElementById('next-btn').classList.remove('hidden');
});
</script>
</body>
</html>