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