Questions Related to technology

Multiple choice technology security
  1. Vulnerable to SQL Injection

  2. Vulnerable to DoS

  3. Vulnerable to Information Disclosure

  4. Code is secure

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology security
  1. Security is handled at OS level by giving only read level privilege so no need to put an extra check here

  2. Only problem here is that fileName may not be syntactically incorrect so it should be validated before using it in the function

  3. This code can lead to information disclosure attack

  4. Java provides enough security by default for IO operations so this code is not vulnerable.

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology security
  1. a

  2. b

  3. c

  4. d

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology security
  1. The type safety mechanism in the Java language prevents the execution of malicious code

  2. Two classes with the same fully qualified name but which are defined by different instances of a class loader are NOT of the same type

  3. All signed classes are implicitly trusted and granted full access

  4. The principal role of a TrustManager is to determine if presented authentication credentials should be trusted

  5. Option 1 AND Option 4

  6. Option 2 AND Option 4

Reveal answer Fill a bubble to check yourself
F Correct answer