Repository navigation
Expand file tree
/
Copy pathcloudplus_practice.html
More file actions
1663 lines (1553 loc) · 86.3 KB
/
Copy pathcloudplus_practice.html
File metadata and controls
1663 lines (1553 loc) · 86.3 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CompTIA Cloud+ Practice Quiz | Nexus Academy</title>
<style>
/* ============================================
CSS RESET & VARIABLES
============================================ */
:root {
--space-void: #0a0a1a;
--space-deep: #0d1025;
--glass-panel: rgba(21, 29, 46, 0.7);
--neon-core: #3b82f6;
--neon-accent: #06b6d4;
--gradient-cyber: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #10b981 100%);
--animation-fast: 0.3s;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-600: #4b5563;
--green-400: #4ade80;
--cyan-400: #22d3ee;
--purple-300: #d8b4fe;
--purple-500: #a855f7;
--orange-300: #fdba74;
--orange-500: #f97316;
--blue-300: #93c5fd;
--blue-500: #3b82f6;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* ============================================
BASE STYLES
============================================ */
body {
font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--space-void);
color: #e0e7ff;
overflow-x: hidden;
line-height: 1.6;
}
/* ============================================
UTILITY CLASSES (Tailwind Replacements)
============================================ */
.text-white { color: white; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; }
.whitespace-pre-line { white-space: pre-line; }
.flex { display: flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pb-12 { padding-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 80rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-x-auto { overflow-x: auto; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
/* Color utilities */
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-green-400 { color: var(--green-400); }
.text-cyan-400 { color: var(--cyan-400); }
.text-purple-300 { color: var(--purple-300); }
.text-orange-300 { color: var(--orange-300); }
.text-blue-300 { color: var(--blue-300); }
.border-gray-600 { border-color: var(--gray-600); }
.bg-purple-opacity { background: rgba(168, 85, 247, 0.2); }
.bg-orange-opacity { background: rgba(249, 115, 22, 0.2); }
.bg-blue-opacity { background: rgba(59, 130, 246, 0.2); }
.bg-green-opacity { background: rgba(16, 185, 129, 0.1); }
.border-purple-opacity { border-color: rgba(168, 85, 247, 0.3); }
.border-orange-opacity { border-color: rgba(249, 115, 22, 0.3); }
.border-blue-opacity { border-color: rgba(59, 130, 246, 0.3); }
.border-green-opacity { border-color: rgba(16, 185, 129, 0.3); }
/* ============================================
GRID RESPONSIVE UTILITIES
============================================ */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) {
.md-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ============================================
COMPONENT STYLES
============================================ */
.glass-panel {
background: var(--glass-panel);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 16px;
}
.cyber-header {
font-family: 'Trebuchet MS', 'Lucida Sans', sans-serif;
font-weight: 900;
letter-spacing: 0.05em;
background: var(--gradient-cyber);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.code-block {
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 8px;
padding: 1rem;
overflow-x: auto;
}
.option-card {
transition: all var(--animation-fast);
cursor: pointer;
}
.option-card:hover {
transform: translateY(-2px);
border-color: var(--neon-accent);
box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}
.option-card.correct {
border-color: #10b981;
background: rgba(16, 185, 129, 0.1);
}
.btn-cyber {
background: var(--gradient-cyber);
border: none;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all var(--animation-fast);
color: white;
display: inline-flex;
align-items: center;
}
.btn-cyber:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}
.fade-in {
animation: fadeIn 0.6s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
#bg-canvas {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
pointer-events: none;
}
.question-nav {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
gap: 0.5rem;
}
.nav-btn {
width: 40px;
height: 40px;
border-radius: 8px;
border: 1px solid rgba(59, 130, 246, 0.3);
background: rgba(21, 29, 46, 0.5);
color: #94a3b8;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.875rem;
}
.nav-btn:hover {
border-color: var(--neon-accent);
background: rgba(6, 182, 212, 0.2);
}
.nav-btn.active {
background: var(--gradient-cyber);
color: white;
border-color: transparent;
}
.copy-btn {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background: rgba(59, 130, 246, 0.2);
border: 1px solid rgba(59, 130, 246, 0.4);
padding: 0.5rem 1rem;
border-radius: 6px;
color: #60a5fa;
cursor: pointer;
transition: all 0.2s;
font-size: 0.875rem;
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.copy-btn:hover {
background: rgba(59, 130, 246, 0.4);
color: white;
}
.diagram-container {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(59, 130, 246, 0.2);
border-radius: 8px;
padding: 1rem;
margin: 1rem 0;
}
.toast {
position: fixed;
bottom: 2rem;
right: 2rem;
background: var(--gradient-cyber);
padding: 1rem 1.5rem;
border-radius: 8px;
color: white;
font-weight: 600;
z-index: 9999;
animation: slideIn 0.3s ease-out;
display: flex;
align-items: center;
gap: 0.5rem;
}
@keyframes slideIn {
from { transform: translateX(400px); }
to { transform: translateX(0); }
}
.loading-overlay {
position: fixed;
inset: 0;
background: var(--space-void);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
transition: opacity 0.5s;
}
.loading-overlay.hidden {
opacity: 0;
pointer-events: none;
}
.spinner {
width: 60px;
height: 60px;
border: 4px solid rgba(59, 130, 246, 0.2);
border-top-color: var(--neon-accent);
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.stats-card {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
}
.table-container {
overflow-x: auto;
margin: 1rem 0;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
th, td {
border: 1px solid rgba(59, 130, 246, 0.2);
padding: 0.75rem;
text-align: left;
}
th {
background: rgba(59, 130, 246, 0.2);
font-weight: 600;
}
.highlight {
background: rgba(16, 185, 129, 0.2);
padding: 0.25rem 0.5rem;
border-radius: 4px;
color: #10b981;
font-weight: 600;
}
/* SVG Icon Styles */
.icon {
width: 1em;
height: 1em;
display: inline-block;
vertical-align: -0.125em;
fill: currentColor;
}
.icon-lg {
width: 1.25em;
height: 1.25em;
}
/* Type Badge Styles */
.type-badge {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
border: 1px solid;
}
.type-badge-multi-select {
background: rgba(168, 85, 247, 0.2);
color: var(--purple-300);
border-color: rgba(168, 85, 247, 0.3);
}
.type-badge-simulation {
background: rgba(249, 115, 22, 0.2);
color: var(--orange-300);
border-color: rgba(249, 115, 22, 0.3);
}
.type-badge-drag-drop {
background: rgba(59, 130, 246, 0.2);
color: var(--blue-300);
border-color: rgba(59, 130, 246, 0.3);
}
/* Answer Box */
.answer-box {
margin-top: 1.5rem;
padding: 1rem;
border-radius: 0.5rem;
background: rgba(16, 185, 129, 0.1);
border: 1px solid rgba(16, 185, 129, 0.3);
}
</style>
</head>
<body>
<!-- Loading Overlay -->
<div id="loading-overlay" class="loading-overlay">
<div class="text-center">
<div class="spinner mx-auto mb-4"></div>
<h2 class="text-2xl font-bold cyber-header">Loading Quiz Data...</h2>
</div>
</div>
<!-- Background Canvas -->
<canvas id="bg-canvas"></canvas>
<!-- Main Container -->
<div class="relative z-10 min-h-screen">
<!-- Sticky Header -->
<header class="sticky top-0 z-50 glass-panel mb-8 py-4 px-6">
<div class="max-w-7xl mx-auto flex items-center justify-between flex-wrap gap-4">
<div>
<h1 class="text-3xl font-bold cyber-header">CompTIA Cloud+ Quiz</h1>
<p class="text-sm text-gray-400 mt-1">90 Practice Questions | CV0-004</p>
</div>
<div class="flex items-center gap-4">
<button onclick="toggleAnswers()" class="btn-cyber text-sm">
<svg class="icon mr-2" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path>
<circle cx="12" cy="12" r="3"></circle>
</svg>
<span id="toggle-text">Show Answers</span>
</button>
<button onclick="copyAllQuestions()" class="btn-cyber text-sm">
<svg class="icon mr-2" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
Copy All
</button>
</div>
</div>
</header>
<div class="max-w-7xl mx-auto px-4 pb-12">
<!-- Stats Dashboard -->
<div class="grid grid-cols-1 md-grid-cols-4 gap-4 mb-8 fade-in">
<div class="stats-card">
<div class="text-4xl font-bold cyber-header mb-2">90</div>
<div class="text-sm text-gray-400">Total Questions</div>
</div>
<div class="stats-card">
<div class="text-4xl font-bold cyber-header mb-2">75</div>
<div class="text-sm text-gray-400">Multiple Choice</div>
</div>
<div class="stats-card">
<div class="text-4xl font-bold cyber-header mb-2">13</div>
<div class="text-sm text-gray-400">Multi-Select</div>
</div>
<div class="stats-card">
<div class="text-4xl font-bold cyber-header mb-2">2</div>
<div class="text-sm text-gray-400">Simulations</div>
</div>
</div>
<!-- Quick Navigation -->
<div class="glass-panel p-6 mb-8 fade-in">
<h3 class="text-lg font-semibold mb-4 flex items-center">
<svg class="icon mr-2 text-cyan-400" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"></circle>
<polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"></polygon>
</svg>
Quick Navigation
</h3>
<div class="question-nav" id="questionNav"></div>
</div>
<!-- Questions Container -->
<div id="questionsContainer"></div>
</div>
</div>
<!-- SVG Icon Templates (hidden) -->
<div style="display: none;">
<svg id="icon-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>
<svg id="icon-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path>
<polyline points="22 4 12 14.01 9 11.01"></polyline>
</svg>
<svg id="icon-diagram" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<line x1="3" y1="9" x2="21" y2="9"></line>
<line x1="9" y1="21" x2="9" y2="9"></line>
</svg>
<svg id="icon-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg>
<svg id="icon-table" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<line x1="3" y1="9" x2="21" y2="9"></line>
<line x1="3" y1="15" x2="21" y2="15"></line>
<line x1="9" y1="3" x2="9" y2="21"></line>
<line x1="15" y1="3" x2="15" y2="21"></line>
</svg>
<svg id="icon-file-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
<polyline points="14 2 14 8 20 8"></polyline>
<line x1="10" y1="12" x2="10" y2="18"></line>
<line x1="14" y1="12" x2="14" y2="18"></line>
</svg>
</div>
<script>
// SVG Icon Helper Functions
const icons = {
copy: `<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
<path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
</svg>`,
check: `<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path>
<polyline points="22 4 12 14.01 9 11.01"></polyline>
</svg>`,
checkCircle: `<svg class="icon" viewBox="0 0 24 24" fill="currentColor">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
</svg>`,
diagram: `<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<line x1="3" y1="9" x2="21" y2="9"></line>
<line x1="9" y1="21" x2="9" y2="9"></line>
</svg>`,
code: `<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg>`,
table: `<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<line x1="3" y1="9" x2="21" y2="9"></line>
<line x1="3" y1="15" x2="21" y2="15"></line>
<line x1="9" y1="3" x2="9" y2="21"></line>
<line x1="15" y1="3" x2="15" y2="21"></line>
</svg>`,
fileCode: `<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path>
<polyline points="14 2 14 8 20 8"></polyline>
<line x1="10" y1="12" x2="10" y2="18"></line>
<line x1="14" y1="12" x2="14" y2="18"></line>
</svg>`
};
// Quiz Data
const quizData = [
{
id: 1,
type: "simulation",
question: "You are a cloud engineer working for a cloud service provider that is responsible for an IaaS offering. Your customer, who creates VMs and manages virtual storage, has noticed I/O bandwidth issues and low IOPS (under 9000). Your manager wants you to verify the proper storage configuration as dictated by your service level agreement (SLA).\n\nThe SLA specifies:\n• Each SFP on the hypervisor host must be set to the maximum link speed allowed by SAN.\n• All SAN disk groups must be configured in a RAID 5.\n• The SAN array must be fully configured for redundant fabric paths.\n• IOPS should not fall below 14000.\n\nTask: Click each highlighted device to review the displayed information. Change the settings of each device as necessary to conform to the SLA requirements.",
diagram: "Network topology showing Hypervisor connected to Fabric Switch A and Fabric Switch B, which connect to SAN storage array",
solution: "• Set all Hypervisor FC ports (Slot A & B, Ports 1 & 2) to 8 Gbps\n• Fabric Switch A: Select initiator 50:00:00:25:B5:A0:23:02\n• Fabric Switch B: Select initiator 50:00:00:25:B5:B0:23:04\n• Verify RAID 5 is configured on both disk groups",
correctAnswer: "Configuration complete with all ports at 8Gbps and proper initiator mappings"
},
{
id: 2,
type: "drag-drop",
question: "A highly regulated business is required to work remotely, and the risk tolerance is very low. You are tasked with providing an identity solution to the company cloud that includes the following:\n\n• Secure connectivity that minimizes user login\n• Tracks user activity and monitors for anomalous activity\n• Requires secondary authentication\n\nInstructions: Select controls and servers for the proper control points.",
options: ["SSO", "SIEM", "MFA"],
correctAnswer: "Endpoints: MFA | Internet/Connectivity: SSO | Cloud Service Provider/Server: SIEM",
explanation: "MFA provides secondary authentication, SSO minimizes login, SIEM tracks and monitors activity"
},
{
id: 3,
question: "Which of the following package managers would most likely be used with Ubuntu Linux?",
options: ["YUM", "DNF", "Pacman", "APT"],
correctAnswer: "D",
explanation: "APT (Advanced Package Tool) is the default package manager for Ubuntu and Debian-based distributions"
},
{
id: 4,
question: "Which of the following types of releases best describes the update made to a code repository production release when it changes from version 1.0 to version 1.1?",
options: ["Alpha", "Beta", "Minor", "Major"],
correctAnswer: "C",
explanation: "Version numbering follows semantic versioning: Major.Minor.Patch. A change from 1.0 to 1.1 is a minor release"
},
{
id: 5,
question: "A company's primary site experiences an outage and must recover as quickly as possible. Which of the following backup or recovery methods should the company use?",
options: ["In-place", "Incremental", "Full", "Parallel"],
correctAnswer: "D",
explanation: "Parallel recovery allows simultaneous operation of backup systems for fastest recovery"
},
{
id: 6,
question: "A high-usage cloud resource needs to be monitored in real time on specific events to guarantee its availability. Which of the following actions should be used to meet this requirement?",
options: [
"Configure a ping command to identify when the cloud instance is out of service",
"Create a dashboard with visualizations to filter the status of critical activities",
"Collect all the daily activity from the cloud instance and create a dump file for analysis",
"Schedule an hourly scan of the network to check for the availability of the resource"
],
correctAnswer: "B",
explanation: "Real-time dashboards provide immediate visibility into resource status and critical events"
},
{
id: 7,
question: "A cloud administrator shortens the amount of time a backup runs. An executive in the company requires a guarantee that the backups can be restored with no data loss. Which of the following backup features should the administrator test for?",
options: ["Encryption", "Retention", "Schedule", "Integrity"],
correctAnswer: "D",
explanation: "Integrity checks ensure data can be restored without loss or corruption"
},
{
id: 8,
question: "A managed service provider's recent business growth includes customers on different continents. Which of the following should be considered to prevent issues with regulations?",
options: ["Data sovereignty", "Data ownership", "Classification of data", "Data locality"],
correctAnswer: "A",
explanation: "Data sovereignty addresses legal requirements for data storage across different jurisdictions"
},
{
id: 9,
question: "A company's content management system (CMS) service runs on an IaaS cluster on a public cloud. The CMS service is frequently targeted by a malicious threat actor using DDoS. Which of the following should a cloud engineer monitor to identify attacks?",
options: ["Network flow logs", "Endpoint detection and response logs", "Cloud provider event logs", "Instance syslog"],
correctAnswer: "A",
explanation: "Network flow logs capture traffic patterns essential for identifying DDoS attacks"
},
{
id: 10,
question: "A systems administrator needs to configure backups for the company's on-premises VM cluster. The storage used for backups will be constrained on free space until the company can implement cloud backups. Which of the following backup types will save the most space, assuming the frequency of backups is kept the same?",
options: ["Snapshot", "Full", "Differential", "Incremental"],
correctAnswer: "D",
explanation: "Incremental backups only save changes since the last backup, using minimal space"
},
{
id: 11,
question: "A cloud administrator deploys new VMs in a cluster and discovers they are getting IP addresses in the range of 169.254.0.0/16. Which of the following is the most likely cause?",
options: ["The scope has been exhausted", "The network is overlapping", "The VLAN is missing", "The NAT is improperly configured"],
correctAnswer: "A",
explanation: "169.254.0.0/16 is the APIPA range, indicating DHCP scope exhaustion"
},
{
id: 12,
question: "Which of the following migration types is best to use when migrating a highly available application, which is normally hosted on a local VM cluster, for usage with an external user population?",
options: ["Cloud to on-premises", "Cloud to cloud", "On-premises to cloud", "On-premises to on-premises"],
correctAnswer: "C",
explanation: "Moving from local (on-premises) to cloud provides external accessibility"
},
{
id: 13,
question: "A cloud engineer hardened the WAF for a company that operates exclusively in North America. The engineer did not make changes to any ports, and all protected applications have continued to function as expected. Which of the following configuration changes did the engineer most likely apply?",
options: [
"The engineer implemented MFA to access the WAF configurations",
"The engineer blocked all traffic originating outside the region",
"The engineer installed the latest security patches on the WAF",
"The engineer completed an upgrade from TLS version 1.1 to version 1.3"
],
correctAnswer: "B",
explanation: "Geographic blocking is a common WAF hardening technique for region-specific operations"
},
{
id: 14,
question: "Users report that in-house developed software has performance issues and behaves in unexpected ways following a recent update. The developers investigate and find buffer overflows and broken authentications. Which of the following best describes what caused this issue?",
options: ["Leaked credentials", "Poor coding practices", "Cipher suite depreciation", "Incompatible hardware"],
correctAnswer: "B",
explanation: "Buffer overflows and broken authentication indicate poor coding practices"
},
{
id: 15,
question: "A developer at a small startup company deployed some code for a new feature to its public repository. A few days later, a data breach occurred. A security team investigated the incident and found that the database was hacked. Which of the following is the most likely cause of this breach?",
options: ["Database core dump", "Hard-coded credentials", "Compromised deployment agent", "Unpatched web servers"],
correctAnswer: "B",
explanation: "Hard-coded credentials in public repositories are a common cause of breaches"
},
{
id: 16,
question: "A public cloud environment customer wants to encrypt the data it puts in the cloud. However, the CSP prohibits customer encryption keys. Which of the following principles is the CSP violating?",
options: ["Data ownership", "Data sovereignty", "Data classification", "Data retention"],
correctAnswer: "A",
explanation: "Preventing customer-managed encryption keys violates data ownership principles"
},
{
id: 17,
type: "multi-select",
question: "Which of the following will best reduce the cost of running workloads while maintaining the same performance? (Select TWO)",
options: ["Instance size", "Tagging", "Reserved resources model", "Spot instance model", "Pay-as-you-go model", "Dedicated host model"],
correctAnswer: ["C", "D"],
explanation: "Reserved instances and spot instances offer significant cost savings while maintaining performance"
},
{
id: 18,
question: "A group of cloud administrators frequently uses the same deployment template to recreate a cloud-based development environment. The administrators are unable to go back and review the history of changes they have made to the template. Which of the following cloud resource deployment concepts should the administrator start using?",
options: ["Drift detection", "Repeatability", "Documentation", "Versioning"],
correctAnswer: "D",
explanation: "Versioning tracks changes and allows reviewing history of template modifications"
},
{
id: 19,
question: "An IT security team wants to ensure that the correct parties are informed when a specific user account is signed in. Which of the following would most likely allow an administrator to address this concern?",
options: [
"Creating an alert based on user sign-in criteria",
"Aggregating user sign-in logs from all systems",
"Enabling the collection of user sign-in logs",
"Configuring the retention of all sign-in logs"
],
correctAnswer: "A",
explanation: "Alerts based on specific criteria provide real-time notifications for sign-in events"
},
{
id: 20,
question: "An IT manager is migrating the production environment to the cloud but needs to keep control of the operating systems, patches, and settings of all resources. Which of the following deployment models will best meet the requirements?",
options: ["FaaS", "PaaS", "IaaS", "SaaS"],
correctAnswer: "C",
explanation: "IaaS provides control over OS, patches, and configurations"
},
{
id: 21,
question: "Which of the following is used to quickly deploy applications across different cloud providers?",
options: ["Snapshot", "Container image", "Serverless function", "VM template"],
correctAnswer: "B",
explanation: "Container images provide portability across different cloud platforms"
},
{
id: 22,
question: "A cloud engineer tries to deploy five new cloud instances using code. An error occurs, and the instances are not created. The configuration fails to run. The engineer then receives the following error message:\n\nERROR: Parse error on json line x in config\n\nJSON:\n{\n \"instance_count\": 5,\n \"ssd_options\": [\"100GB\", \"200GB\", \"300GB\",\n \"instance_region\": apac,\n \"instance_code\": 255,\n \"start_instance\": true\n}\n\nWhich of the following oversights created the error in the configuration file?",
options: ["Incorrect instance count", "Incorrect ssd_options", "Missing quotations on instance_region", "Missing trailing comma on start_instance"],
correctAnswer: "B",
explanation: "The ssd_options array is missing a closing bracket and has a trailing comma before the next property"
},
{
id: 23,
question: "A company wants to use cloud resources to store historical data and guarantee fast searching and information-retrieval capabilities. Which of the following types of storage should the company provision?",
options: ["Hot", "Warm", "Cold", "Offline"],
correctAnswer: "A",
explanation: "Hot storage provides fastest access for frequently accessed data and searches"
},
{
id: 24,
question: "A company receives files daily from a bank. The company requires that the files must be copied from the cloud storage resource to another cloud storage resource for further processing. Which of the following methods requires the least amount of effort to achieve the task?",
options: ["Remote procedure call", "SOAP", "Event-driven architecture", "REST"],
correctAnswer: "C",
explanation: "Event-driven architecture automatically triggers actions when files arrive, requiring minimal manual effort"
},
{
id: 25,
question: "A technician receives an email from a vendor who is requesting payment of an invoice for human resources services. The email contains a request for bank account numbers. Which of the following types of attacks does this behavior most likely indicate?",
options: ["Malware", "Cryptojacking", "Ransomware", "Phishing"],
correctAnswer: "D",
explanation: "Requesting sensitive financial information via email is a classic phishing attack"
},
{
id: 26,
question: "Which of the following cloud deployment models is the best way to replicate a workload non-disruptively between on-premises servers and a public cloud?",
options: ["Public", "Community", "Private", "Hybrid"],
correctAnswer: "D",
explanation: "Hybrid cloud enables seamless integration between on-premises and public cloud resources"
},
{
id: 27,
question: "Which of the following protocols is often used in IoT to reduce the amount of data exchanged?",
options: ["MQTT", "SMB", "NFS", "HTTPS"],
correctAnswer: "A",
explanation: "MQTT (Message Queuing Telemetry Transport) is a lightweight protocol designed for IoT with minimal overhead"
},
{
id: 28,
question: "A customer relationship management application, which is hosted in a public cloud IaaS network, is vulnerable to a remote command execution vulnerability. Which of the following is the best solution for the security engineer to implement to prevent the application from being exploited by basic attacks?",
options: ["IPS", "ACL", "DLP", "WAF"],
correctAnswer: "D",
explanation: "Web Application Firewall (WAF) protects against application-layer attacks including remote command execution"
},
{
id: 29,
question: "A network administrator is building a site-to-site VPN tunnel from the company's headquarters office to the company's public cloud development network. The network administrator confirms the following:\n\n• The VPN tunnel is established on the headquarter office firewall\n• While inside the office, developers report that they cannot connect to the development network resources\n• While outside the office on a client VPN, developers report that they can connect to the development network resources\n• The office and the client VPN have different IP subnet ranges\n• The firewall flow logs show VPN traffic is reaching the development network from the office\n\nWhich of the following is the next step the network administrator should take to troubleshoot the VPN tunnel?",
options: [
"Review the development network routing table",
"Change the ciphers on the site-to-site VPN",
"Restart the site-to-site VPN tunnel",
"Check the ACLs on the development workloads"
],
correctAnswer: "A",
explanation: "Traffic reaches the network but developers can't connect from office - indicates routing issue preventing return traffic"
},
{
id: 30,
question: "A company is required to save historical data for seven years. A cloud administrator implements a script that automatically deletes data older than seven years. Which of the following concepts best describes why the historical data is being deleted?",
options: ["End of life", "Data loss prevention", "Cost implications", "Tiered storage for archiving"],
correctAnswer: "A",
explanation: "End of life policies define when data should be deleted based on retention requirements"
},
{
id: 31,
question: "A cloud engineer is troubleshooting a connectivity issue. The application server with IP 192.168.1.10 in one subnet is not connecting to the MySQL database server with IP 192.168.2.20 in a different subnet. Which of the following should the cloud engineer address to fix the communication issue?",
hasTable: true,
correctAnswer: "D",
explanation: "MySQL Server Subnet Routing Table has incorrect gateway - should route back to 192.168.1.0/24 via proper gateway"
},
{
id: 32,
question: "Which of the following cloud-native architecture designs is the most easily maintained, decentralized, and decoupled?",
options: ["Monolithic", "Hybrid cloud", "Mainframe", "Microservices"],
correctAnswer: "D",
explanation: "Microservices architecture is inherently decentralized, decoupled, and easier to maintain"
},
{
id: 33,
question: "A company's cybersecurity team receives an alert that a production VM was deleted. The log shows:\n\n\"Resource with ID: PROD-WEB001 was deleted by User: Logging Service\"\n\"User with ID: Logging Service was added to the Group: VNet Console Administrators by actor: Logging Service.\"\n\nThe logging service account was previously given full directory administration privileges. The team removes the compromised account. Which of the following should they do next to prevent repeat instances?",
options: [
"Enable two-factor authentication on the virtual network console",
"Reset the logging service account to use a long and complex password",
"Disable RDP on the production virtual machines",
"Create a scoped administrative role for the logging service account"
],
correctAnswer: "D",
explanation: "Principle of least privilege - service accounts should have minimal necessary permissions, not full admin rights"
},
{
id: 34,
question: "Which of the following is the most cost-effective way to store data that is infrequently accessed?",
options: ["Cold site", "Hot site", "Off-site", "Warm site"],
correctAnswer: "C",
explanation: "Off-site/Cold storage offers lowest cost for infrequently accessed data"
},
{
id: 35,
question: "A cloud solutions architect needs to deploy a simple, public-facing website with the following requirements:\n\n• Cost-effective\n• Highly available\n• Self-healing\n• Secure\n\nWhich of the following templates (YAML configuration) is the most appropriate to use?",
hasYaml: true,
correctAnswer: "D",
explanation: "Configuration D combines Spot instances (cost-effective), Autoscaling (self-healing/high availability), and restricted SSH access (security)"
},
{
id: 36,
question: "A cloud administrator receives a phishing text message (\"Piz respond so we can send ur replacement laptop...\"). After clicking, they see a blank screen with a 200 response code. Which of the following should the administrator do to best prevent future instances of this potential attack?",
options: [
"Rotate the administrator credentials",
"Disable text messaging",
"Enforce a security policy regarding external links",
"Deploy a WAF to the network"
],
correctAnswer: "C",
explanation: "Security policies and training prevent users from clicking malicious links in the future"
},
{
id: 37,
question: "A cloud administrator needs to collect process-level, memory-usage tracking for the virtual machines that are part of an autoscaling group. Which of the following is the best way to accomplish the goal using cloud-native monitoring services?",
options: [
"Configuring page file/swap metrics",
"Deploying the cloud-monitoring agent software",
"Scheduling a script to collect the data",
"Enabling memory monitoring in the VM configuration"
],
correctAnswer: "B",
explanation: "Cloud monitoring agents provide detailed process-level metrics for VMs"
},
{
id: 38,
question: "An organization's web application experiences periodic bursts of traffic when a new video is launched. Users are reporting poor performance in the middle of the month. Which of the following scaling approaches should the organization use to scale based on forecasted traffic?",
options: ["Scheduled", "Manual", "Event", "Load"],
correctAnswer: "A",
explanation: "Scheduled scaling allows proactive scaling based on known traffic patterns (video launch schedule)"
},
{
id: 39,
question: "A cloud engineer wants to deploy a new application to the cloud and is writing a Terraform script. Which of the following actions will this script perform?",
hasCode: true,
correctAnswer: "B",
explanation: "Terraform resource definitions create new cloud resources (server_instance in this case)"
},
{
id: 40,
question: "A banking firm's cloud server will be decommissioned after a successful proof of concept using mirrored data. Which of the following is the best action to take regarding the storage used on the decommissioned server?",
options: ["Keep it temporarily", "Archive it", "Delete it", "Retain it permanently"],
correctAnswer: "B",
explanation: "Banking data should be archived for compliance and audit purposes, not deleted"
},
{
id: 41,
question: "An organization's internal security team mandated that public cloud resources must be accessible only by a corporate VPN and not by direct public internet access. Which of the following would achieve this objective?",
options: ["WAF", "ACL", "PC", "SSH"],
correctAnswer: "C",
explanation: "Private Connectivity (PC) restricts access to VPN-only, blocking public internet access"
},
{
id: 42,
question: "A cloud engineer is selecting a model for a data center that will host a workload. The database must reside within the data center on the company's SAN solution. However, the workload will be hosted by a third-party vendor. Which model should be selected?",
options: ["Community", "Hybrid", "Public", "Private"],
correctAnswer: "B",
explanation: "Hybrid cloud combines on-premises database with third-party hosted workload"
},
{
id: 43,
question: "A newly configured VM fails to run application updates despite having internet access. The updates download automatically from a third-party network. Given the output showing DNS timeout for na.updateserver.net, which of the following troubleshooting steps would be best to take?",
hasDiagram: true,
options: [
"Checking DNS configurations",
"Reconfiguring routing protocols",
"Testing the IP address configuration",
"Running a trace to the router"
],
correctAnswer: "A",
explanation: "DNS timeout error indicates DNS configuration issues"
},
{
id: 44,
type: "multi-select",
question: "A security analyst reviews daily logs and notices suspicious activity: PowerShell process executed compressed, encoded command line content from John Smith's machine (10.150.71.151). Firewall logs show Kali Linux connecting to external IP 201.101.25.121 on port 4444. Which of the following steps should the security analyst take next to resolve this issue? (Select TWO)",
options: [
"Submit an IT support ticket and request Kali Linux be uninstalled",
"Block all inbound connections on port 4444 and block the IP address 201.101.25.121",
"Contact John Smith and request the Ethernet cable be unplugged",
"Check the running processes to confirm if a backdoor connection has been established",
"Upgrade the Windows x64 operating system",
"Block all outbound connections from the IP address 10.150.71.151"
],
correctAnswer: ["B", "D"],
explanation: "Port 4444 is commonly used for backdoors (Metasploit). Block the connection and verify compromise status"
},
{
id: 45,
question: "A critical security patch is required on a network load balancer. The CEO does not want any interruptions during a demonstration next week. Which approach should the cloud security engineer take?",
options: [
"Ask the management team to delay the conference",
"Apply the security patch after the event",
"Ask the upper management team to approve an emergency patch window",
"Apply the security patch immediately before the conference"
],
correctAnswer: "C",
explanation: "Critical patches require immediate action - get management approval for emergency maintenance window"
},
{
id: 46,
question: "An application running on containers writes files to the OS owned by root. A cloud engineer needs to make sure no output files are owned by root. Which action should the engineer take?",
options: [
"Mount the volume in Docker using --user myapp",
"Add USER myapp to the Dockerfile and rebuild the container",
"Run chown myapp:myapp /project-files with cron every minute",
"Modify the container application to execute sudo -u myapp"
],
correctAnswer: "B",
explanation: "Setting USER in Dockerfile ensures all processes run as non-root user"
},
{
id: 47,
question: "A manager wants information about which users signed in to a certain VM during the past month. Which of the following can the cloud administrator use to obtain this information?",
options: ["Retention", "Alerting", "Aggregation", "Collection"],
correctAnswer: "A",
explanation: "Log retention policies ensure historical login data is available for review"
},
{
id: 48,
question: "A cloud administrator is building a company-standard VM image based on a public image. Which of the following should the administrator implement to secure the image?",
options: ["Generic security", "Least privilege", "Hardening", "Vulnerability scanning"],
correctAnswer: "C",
explanation: "Hardening involves securing and configuring an image to reduce attack surface"