-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexam5.html
More file actions
122 lines (111 loc) · 5.79 KB
/
Copy pathexam5.html
File metadata and controls
122 lines (111 loc) · 5.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Practice Exam #5 - Terraform Associate</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="exam.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<header class="header">
<div class="container">
<div class="logo">
<h1>🎯 Practice Exam #5 - Interactive Demo</h1>
<p>5 sample questions showcasing the exam interface • <a href="markdown-viewer.html?exam=5" style="color: #f0f4ff; text-decoration: underline;">View Complete Exam (57 Questions)</a></p><!-- OLD: 57 questions covering Terraform fundamentals and core concepts</p>
</div>
</div>
</header>
<main class="main">
<div class="container">
<div class="exam-container">
<div class="exam-sidebar">
<div class="exam-info">
<h3>Exam Information</h3>
<div class="info-item">
<span class="label">Demo Questions:</span>
<span class="value">5</span>
</div>
<div class="info-item">
<span class="label">Time:</span>
<span class="value">Self-paced</span>
</div>
<div class="info-item">
<span class="label">Format:</span>
<span class="value">Multiple Choice</span>
</div>
</div>
<div class="progress-section">
<h4>Progress</h4>
<div class="progress-bar">
<div class="progress-fill" id="progressFill"></div>
</div>
<div class="progress-text">
<span id="currentQuestion">1</span> of <span id="totalQuestions">5</span>
</div>
</div>
<div class="navigation">
<button id="prevBtn" class="nav-btn" disabled>← Previous</button>
<button id="nextBtn" class="nav-btn">Next →</button>
</div>
</div>
<div class="exam-content">
<div class="question-container" id="questionContainer">
<div class="question-header">
<span class="question-number">Question 1</span>
<span class="question-topic">Infrastructure as Code Concepts</span>
</div>
<div class="question-text">
<h3>What is Infrastructure as Code (IaC)?</h3>
</div>
<div class="options">
<label class="option">
<input type="radio" name="q1" value="a">
<span class="option-text">A method of managing infrastructure through code and automation</span>
</label>
<label class="option">
<input type="radio" name="q1" value="b">
<span class="option-text">A way to write application code for cloud services</span>
</label>
<label class="option">
<input type="radio" name="q1" value="c">
<span class="option-text">A programming language for infrastructure</span>
</label>
<label class="option">
<input type="radio" name="q1" value="d">
<span class="option-text">A cloud provider service</span>
</label>
</div>
<div class="explanation" id="explanation" style="display: none;">
<h4>Explanation</h4>
<p><strong>Correct Answer: A</strong></p>
<p>Infrastructure as Code (IaC) is a method of managing and provisioning infrastructure through code and automation, rather than manual processes. This approach enables version control, repeatability, and consistency in infrastructure management.</p>
</div>
</div>
<div class="question-actions">
<button id="showExplanation" class="btn btn-secondary">Show Explanation</button>
<button id="markForReview" class="btn btn-outline">Mark for Review</button>
</div>
</div>
</div>
</div>
</main>
<div class="exam-notice">
<div class="container">
<p><strong>💡 Interactive Demo:</strong> Experience 5 sample questions with full functionality. For all 57 questions with detailed explanations, use the
<a href="processed-exams/terraform-practice-exam-5.md">markdown version</a> or download the repository.</p>
</div>
</div>
<footer class="footer">
<div class="container">
<p>
<a href="index.html">← Back to Exam List</a> |
<a href="markdown-viewer.html?exam=5">View Complete Exam (57 Questions)</a>
</p>
</div>
</footer>
<script src="demo-questions.js"></script>
<script src="exam.js"></script>
</body>
</html>