exam questions

Exam CAS-004 All Questions

View all questions & answers for the CAS-004 exam

Exam CAS-004 topic 1 question 324 discussion

Actual exam question from CompTIA's CAS-004
Question #: 324
Topic #: 1
[All CAS-004 Questions]

A mobile application developer is creating a global, highly scalable, secure chat application. The developer would like to ensure the application is not susceptible to on-path attacks while the user is traveling in potentially hostile regions. Which of the following would BEST achieve that goal?

  • A. Utilize the SAN certificate to enable a single certificate for all regions.
  • B. Deploy client certificates to all devices in the network.
  • C. Configure certificate pinning inside the application.
  • D. Enable HSTS on the application's server side for all communication.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
weaponxcel
7 months, 3 weeks ago
Selected Answer: C
C. Configure certificate pinning inside the application. Certificate pinning is a security technique that allows an application to verify the identity of a server by comparing the server's certificate to a known and trusted certificate. If the certificates do not match, the application will reject the connection. Certificate pinning is particularly effective against man-in-the-middle attacks, where an attacker intercepts communication between a client and a server and impersonates the server. By pinning the certificate, the client can be sure that it is communicating with the intended server and not an attacker.
upvoted 2 times
...
32d799a
8 months ago
Selected Answer: C
C. Configure certificate pinning inside the application. Certificate pinning involves hardcoding the fingerprint of a certificate or its public key inside an application. This ensures that the application communicates only with servers that provide the pinned certificate, reducing the chances of a MitM attack
upvoted 2 times
...
CXSSP
9 months ago
C. Configure certificate pinning inside the application. Certificate pinning is the most effective option for protecting against on-path attacks, especially in potentially hostile regions. Here's why: Certificate Pinning: This technique involves hardcoding the server's SSL certificate or public key within the mobile application. When a connection is established, the application will verify that the server's certificate matches the pinned certificate. This prevents attackers from using fake or compromised certificates, providing a strong defense against man-in-the-middle attacks.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...