nerdexam
CompTIA

SY0-501 · Question #314

When designing a web based client server application with single application server and database cluster backend, input validation should be performed:

The correct answer is C. On the application server. In a web-based client-server application, input validation should primarily be performed on the application server to ensure security and data integrity.

Submitted by satoshi_tk· Mar 4, 2026Security architecture

Question

When designing a web based client server application with single application server and database cluster backend, input validation should be performed:

Options

  • AOn the client
  • BUsing database stored procedures
  • COn the application server
  • DUsing HTTPS

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    9% (3)
  • C
    81% (26)
  • D
    3% (1)

Why each option

In a web-based client-server application, input validation should primarily be performed on the application server to ensure security and data integrity.

AOn the client

Client-side validation enhances user experience but is easily bypassed by malicious users, making it insufficient for security purposes.

BUsing database stored procedures

While database stored procedures can enforce some data integrity, relying solely on them means invalid or malicious data might still reach the application server and its logic, potentially causing vulnerabilities or errors before database-level checks occur.

COn the application serverCorrect

The application server is the authoritative backend component that processes client requests and interacts with the database; validating input here ensures all data, regardless of its origin or bypass attempts, adheres to security and business rules before further processing or storage, preventing common vulnerabilities like SQL injection or cross-site scripting.

DUsing HTTPS

HTTPS encrypts communication between the client and server and verifies data integrity during transit, but it does not perform validation on the actual content or format of the input data itself.

Concept tested: Web application security: server-side input validation

Source: https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html

Topics

#input validation#web application security#application server#secure design

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice