-Hello, everyone, this is Vijin Palazhi from KodeKloud,
and welcome to the ultimate CKA mock exam series.
Now, before we begin,
I wanted to talk to you about some of the prerequisites to consider
before attempting this course.
Now, since you're watching this video,
I'm assuming that your CKA exam is right around the corner
and that you have already completed the CKA preparation course
with the included mock exams and the lightning labs.
If this assumption is incorrect,
I would highly recommend that you complete the CKA preparation course first,
and then come back to this series of labs.
Now, this course consists of a series of comprehensive
and challenging mock exams
intended to give you more hands-on practice
before you attempt the actual exam.
Each test is quite unique
as compared to the regular mock exams and lightning labs
that you will find in the CKA course.
As you may already know,
the CKA exam tests your practical knowledge in five key knowledge areas.
The architecture, installation, and maintenance section
consists of 25% of the questions.
Workload scheduling is another 15%.
Service networking is 20%.
Storage is another 10%
and finally, the biggest section of them all is troubleshooting,
which accounts for 30% of the questions.
Now, each of the tests in this series
respects the weightage of these individual knowledge areas
to give you the experience of taking an actual exam.
To take it up another notch,
the questions that you get for this mock exam,
including the knowledge area themselves are completely randomized,
which are curated from a large pool of questions
and design by the KodeKloud experts.
You'll also find that just like the real exam,
our mock exam series uses multiple Kubernetes clusters.
There are four clusters in total,
some of which are dedicated to specific knowledge areas.
By default, the exam taker, which is you,
will be locked into what is known as the student node,
and from here, you will be able to access all the other Kubernetes clusters
and also be able to SSH to individual nodes of these clusters.
In total, there are 20 random questions generated for the entire lab.
As I mentioned earlier,
these are randomized across the knowledge areas or sections,
and you will have in total two hours to complete this exam.
At the end of the exam, the results will be auto-validated,
and you will be presented with a score.
All right, that was a quick introduction to the ultimate CKA mock exam series.
Let's now jump right in and go over one of these tests ourselves.
All right, let's now start and take one of the mock exam tests
that's included in this course.
I'm going to click on start course
and here you can see that we have in total 10 mock exams.
All of them are randomized and for this demonstration,
let's make use of CKA Mock Exam 1.
Once you click on this lab,
the lab should load up within 30 seconds.
An average of one to two minutes is to be expected,
but more often than not it should load within 30 seconds.
There you have it, the first lab has been loaded.
Here, you can see that we have in total 20 questions.
The very first question is
from the section architecture install and maintenance.
If you remember, it accounts for 25% of the questions.
For the first question, we have to set the context to cluster3.
Before we begin, let me show you all the clusters
that are currently configured.
As you can see, we are currently on the student node.
To check all the clusters that are configured,
you can use the command kubectl config get-clusters.
As you can see here, we have four clusters in total
and by default
if you do not set any context, you should be accessing the cluster1.
As you can see, cluster1,
which has got two worker nodes, which is cluster1-node01 and node02.
In this case, we have to make use of cluster3.
I'm going to copy this text here and paste it in this student node.
Remember, student node itself is just a client
where you'll find that you'll log in.
If you open a new terminal, you'll also log to student node.
If you want to access any of these control planes specifically,
we'll have to make use of the SSH command.
Now, I have set the context to cluster3,
and if I run the same command as before,
you'll see that this is a single node cluster
with just one control plane.
It's cluster3-controlplane
and the version is 1.24 as of this recording.
Similarly, you can set context for each of the question
and that's something that I highly recommend that you do.
Each question will make sure that you try to access the correct cluster
by setting the context.
In this case, let's read the question.
We have to decode the existing secret, which is called beta-sec-cka14-arc
created in a separate namespace.
Let's attempt this question first.
I'm just going to check if this namespace exists.
As you can see, we do have that name space.
I'm going to type kubectl get secret -n.
Here you can see that that secret does indeed exist.
Let me get it in a yaml format so that we can see the data.
Here you can see that the secret is stored here
under the data section.
What I'm going to do is I'm just going to base64 decode it
and put it in that file.
I'm going to echo this particular string here
and base64 -d.
All that it says is, this is the secret.
Now, what we can do is we can redirect that directly onto that file.
Remember, this says that it has to be stored on the student node
so I'm already on the student node,
so I'm just going to redirect the decoded secret to this file,
and that should be it.
Now, I'll just scroll to the rest of the questions
and show you the different sections that they belong to.
As you can see, the first question was of weightage eight
and belonged to the section architecture install and maintenance.
The second question is of weightage two also belonging to the same section.
Let's just scroll on.
Just like any of our current mock exams,
you can scroll back and forth between questions,
but only thing to note is that you have to complete the test
within the allotted time.
If you run over,
it'll automatically end the exam and validate it for you
but at any given point in time,
you can choose to click on the end exam button
and see the score for yourself.
The third question is also from the same section
so is the fourth,
and the fifth one as well.
Now the sixth question, as you can see, is from the troubleshooting section.
If you remember, this section is one of the largest for CKA
and accounts for 30% of the questions
and moving along you should find that the next question
is from a different section
and this case, as you can see this is from the scheduling section.
Similarly, you'll find other questions belonging to other sections
such as storage and networking in the test.
Once you're happy with your attempt, you can click on the end exam button
and this should automatically trigger the validation.
In this case, I've attempted only the question one,
so everything else will be marked as incorrect
but I just wanted to show you how to navigate the mock exam series.
Once this is done, I want to reload this lab again
and show you that the next attempt can be completely different.
Here I am trying to launch the Mock Exam 1 again,
so let's do that.
All right, so the CKA Mock Exam 1 is loaded again.
Now, if you remember in our first attempt,
the first question was to decode the secret.
Now it's completely changed.
This is completely expected.
All of the questions are randomized,
so you can expect different questions each time you attend the same lab.
Now, if you're not sure what the solution is,
the solution will be provided for you at the end of the exam
during the grading process.
For example, I did not attempt the first question this is wrong,
so you will be provided with the solution immediately.
In case you are stuck, make sure that you go over the solution that is provided
and then you can try to take the test again.
That was a quick demonstration of the ultimate CKA mock exam series.
I hope that you find this really useful and best of luck with your preparation.
Thank you.
[music]