Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Certified AppSec Practitioner Exam

Last Update 14 hours ago Total Questions : 60

The Certified AppSec Practitioner Exam content is now fully updated, with all current exam questions added 14 hours ago. Deciding to include CAP practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our CAP exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these CAP sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Certified AppSec Practitioner Exam practice test comfortably within the allotted time.

Question # 1

Which of the following HTTP response header prevents the client from caching the HTTP response in the most secure manner?

A.

Cache-Control: no-cache, no-store

B.

Secure-Cache: Enabled

C.

Cache-Control: Private

D.

Content-Security-Policy: no-cache, no-store

Question # 2

Multifactor authentication will NOT be able to prevent:

A.

Cross-Site Scripting Vulnerability

B.

Cross-Site Request Forgery Vulnerability

C.

Path Traversal Vulnerability

D.

All of the above

Question # 3

After purchasing an item on an e-commerce website, a user can view his order details by visiting the URL:

https://example.com/order_id=53870

A security researcher pointed out that by manipulating the order_id value in the URL, a user can view arbitrary orders and sensitive information associated with that order_id.

Which of the following is correct?

A.

The root cause of the problem is a lack of input validation and by implementing a strong whitelisting, the problem can be solved

B.

The root cause of the problem is a weak authorization (Session Management) and by validating a user's privileges, the issue can be fixed

C.

The problem can be solved by implementing a Web Application Firewall (WAF)

D.

None of the above

Question # 4

In the context of the following JWT token, which of the following statements is true?

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey

JUYW1I1joiU2vjbB3ZiNo_mn0vNWT4G1-

ATqOTmo7rm70VI12WCdkMI_S1_bPg_G8

A.

The highlighted segment of the token represents a JWT Header.

B.

The highlighted segment of the token represents a JWT Payload.

C.

Both A and B are correct.

D.

None of the above.

Question # 5

Which of the following headers helps in preventing the Clickjacking attack?

A.

Strict-Transport-Security

B.

Access-Control-Allow-Origin

C.

X-Frame-Options

D.

X-Content-Type-Options

Question # 6

Which of the following is considered as a safe password?

A.

Monday@123

B.

abcdef

C.

Sq0Jh819%ak

D.

1234567890

Question # 7

Based on the screenshot below, which of the following statements is true?

HTTP/1.1 200 OK

Accept-Ranges: bytes

Age: 359987

Cache-Control: max-age=604800

Content-Type: text/html; charset=UTF-8

Date: Fri, 02 Dec 2022 18:33:05 GMT

Expires: Fri, 09 Dec 2022 18:33:05 GMT

Last-Modified: Mon, 28 Nov 2022 14:33:18 GMT

Server: Microsoft-IIS/8.0

X-AspNet-Version: 2.0.50727

Vary: Accept-Encoding

X-Powered-By: ASP.NET

Content-Length: 1256

A.

The application is using an outdated server technology

B.

The application is disclosing the server version

C.

The application is disclosing the version of the framework used

D.

All of the above

Question # 8

Which of the following Google Dorks can be used for finding directory listing on victim-app.com?

A.

intitle:"Index of" site:victim-app.com

B.

intext:"Index of" site:victim-app.com

C.

Both A and B

D.

None of the above

Question # 9

In the context of the following JWT token, which of the following statement is true?

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey

JUYW1I1joiU2vjbB3ZiNo_mn0vNWT4G1-

ATqOTmo7rm70VI12WCdkMI_S1_bPg_G8

A.

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 represents a JWT Signature.

B.

mn0vNWT4G1-ATqOTmo7rm70VI12WCdkMI_S1_bPg_G8 represents a JWT Signature.

C.

eyJUYW1I1joiU2vjbB3ZiNo represents a JWT Signature.

D.

None of the above.

Question # 10

If the end-user input is not validated or sanitized, an application created using which of the following languages or frameworks might be prone to Insecure Deserialization vulnerability?

A.

.NET

B.

Java

C.

PHP

D.

All of the above

Go to page: