CompTIA Security+ is a hard exam to clear even though it's an entry-level exam. It tests the basics of the security domain through its 90 questions which are MCQ and Performance-based. This exam tests you in:
How much understanding you have on Pen-testing and other scanning concepts.
How will you identify threats, risks, and other loopholes? And how will you address and mitigate them? etc.
CompTIA recommends a candidate to be CompTIA Network+ certified with two years of experience in IT administration with a security aspect to it.
You can become CompTIA Security+ by enrolling in an industry-grade CompTIA Security+ Certification and check out the following Cyber Security Training for Beginners.