GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Java - Mix

Carlos Veliz 10 Fragen

Quiz starten

Fragen in diesem Quiz (10)

  1. 1Indicate which of the statements is the one that corresponds to input validation stored procedures ?.
    1. ADetermines whether the input is given by a real user or a computer program
    2. BThis tecniques is used to prevent the client applications from manipulating the contents of server data
    3. CPrepared statements support parameterized queries that prevent SQL injection
    4. DIncreased performance of the code in case of repeated SQL statements
  2. 2In character encoding, one of the following is not a rule for validation of input data
    1. AEach character is passed dynamically to the encoding function
    2. BLimit exact matches
    3. CAccept desirable known
    4. DSanitize known undesirable matches
    5. EReject known undesirables
  3. 3It is not a principle to implement in code when you want to validate with Struts Validator
    1. AImplements struts validator class
    2. BCheck for similar number de fields in Action Form and Validation Form
    3. CStruts validation is done to prevent attacks caused through unchecked input
    4. DAvoid duplicate validation forms int he validation xml file
    5. EEnable the Struts Validator in the action form mapping
  4. 4In regular expressions, the following expression "(0-9 && (^ 4 5 6 7)" corresponds to:
    1. AA Single digit 0, 1, or 9
    2. BAny digit number from 0 -9
    3. CA single digit that is 4, 5 , 6, or 7
    4. DA single character that is either a lowercase letter or a digit
    5. EA single digit that is 0, 1, 2, 3, 8, or 9
  5. 5Which of the following statements is not a technique for data validation?
    1. AEncode Known Bad
    2. BKnown Good
    3. CReject Known bad
    4. DAccepting Exact Match
    5. EAccept any unknown
  6. 6That considerations should know to implement Servlet filters. Check the wrong choice
    1. Ainput validation through servlet filters in Java web application is effective due to minor modifications needed for input validation and servlets filters not are centralized in nature
    2. BInput validation in servlets is through multipart encoded content by handling multipart requests
    3. CModern frameworks facilitate to provide input validation in the application itself
    4. DServlet can be configured on an application if it does not require multipart request where automatic multipart request should be disabled
    5. EApplication should rely only on one of defense.
  7. 7Not a member of the superclass InputStream java.io package
    1. AByteArrayInputStream
    2. BFileInputStream
    3. CFilterInputStream
    4. DInputStream
    5. EObjectInput
  8. 8Select the correct statement about Reader Class:
    1. AWriter class is the base class of all the java IO Writer APIs
    2. BSubclasses include PrintWriter, BuferedWriter, etc
    3. CSubclasses include PushbackReader, BufferedReader, etc
    4. DSubclasses include StreamReader, PrintReader, etc
  9. 9To prevent exposure of buffers used by untrusted code:
    1. Agetbuffercopy()
    2. BCharBuffer.wrap(data_array)
    3. CCharBuffer.wrap(data_array).asReadOnlyBuffer()
    4. DBufferedInputStream(system.input_strm)
  10. 10Indicate which of the following statements is not a baseline for designing secured software:
    1. AReduce the number of persons while granting the high privileges
    2. BUse only trusted interfaces to reduce the exposure of the data passed between software and its environment
    3. CAvoid having multiple subjects sharing mechanisms to grant access to a resource
    4. DReduce the amont of time on holds onto its privileges

Informationen

Beschreibung
Java - Mix
Sprache
Español
Aufrufe
79
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck