Carlos Veliz
Test por , creado hace más de 1 año

Mix Test 42p

33
0
0
Carlos Veliz
Creado por Carlos Veliz hace alrededor de 9 años
Cerrar

Java Mix Test 42p

Pregunta 1 de 42

1

Defines interfaces and classes to help in internet communications authentication:

Selecciona una de las siguientes respuestas posibles:

  • Java.security

  • Java SASL API

  • JCE

  • JAAS

  • None of the above

Explicación

Pregunta 2 de 42

1

It is not part of the Java Cryptography Architecture:

Selecciona una de las siguientes respuestas posibles:

  • RSA

  • Triple DES

  • Standard Algorithms

  • Class Loader

  • Sandbox

Explicación

Pregunta 3 de 42

1

Java protects the user from hostile applications that hamper security through the concept:

Selecciona una de las siguientes respuestas posibles:

  • Security Manager

  • Sandbox

  • Intermediate fikes

  • Java Complier

  • None of the above

Explicación

Pregunta 4 de 42

1

Is an open source program that uses static analysis to identify hundreds of different potential types of errores in Java programs:

Selecciona una de las siguientes respuestas posibles:

  • FxCop

  • FindErrors

  • FxBugs

  • FindBugs

  • None of the above

Explicación

Pregunta 5 de 42

1

It is not a functionality of FindBugs:

Selecciona una de las siguientes respuestas posibles:

  • Eliminate security mistakes found.

  • Find security mistakes.

  • Reduce development time.

  • All of the above

  • None of the above

Explicación

Pregunta 6 de 42

1

Which of the following stages of the life cycle, has the lowest relative cost to fix a software defect?

Selecciona una de las siguientes respuestas posibles:

  • In service

  • Design

  • Requirements Definition

  • Customer Testing

  • Programming

Explicación

Pregunta 7 de 42

1

It is a feature of a secured software:

Selecciona una de las siguientes respuestas posibles:

  • Trustworthiness

  • Modularity

  • Reliability

  • Availability

  • All of the above

Explicación

Pregunta 8 de 42

1

Following questions help analyze and improve the security of a software

Selecciona una de las siguientes respuestas posibles:

  • 1) What area the various types od defects that cause security vulnerabilities?

  • 2) Which tools can be used for measuring the defects?

  • 3)How many lines to have the source code?

  • 4) 1 and 2

  • 5) 2 and 3

Explicación

Pregunta 9 de 42

1

"This method helps to split the complex and large problems into smaller ones resulting in quick and effcicent problem solving rather than dealing with the whole". This concept belongs to:

Selecciona una de las siguientes respuestas posibles:

  • Abstraction

  • Decomposition

  • Design

  • Complexity

  • None of the above options

Explicación

Pregunta 10 de 42

1

Threat modeling. Which of the following is not a security technique?

Selecciona una de las siguientes respuestas posibles:

  • Threat Mitigation

  • Threat trees

  • Privilege boundaries

  • Entry point identification

  • None of the above options

Explicación

Pregunta 11 de 42

1

Threat modeling. Which of the following is not a correct approach?

Selecciona una de las siguientes respuestas posibles:

  • Hybrid Centric

  • Software/Design Centric

  • Attack Centric

  • Threat Centric

  • Asset Centric

Explicación

Pregunta 12 de 42

1

What method is used to identify the following threats?
spoofing, tampering, DoS, information disclosure and elevation of privileges

Selecciona una de las siguientes respuestas posibles:

  • Attack Tree Structures

  • Stride

  • Information Gathering

  • ASF

  • None of the above options

Explicación

Pregunta 13 de 42

1

Tool helps engineers analyze the security of their systems to find and address design issues early in the software lifecycle:

Selecciona una de las siguientes respuestas posibles:

  • ADSL Threat modeling

  • SDL Threat modeling

  • Analyze Model

  • Analyze and generate model

  • None of the above options

Explicación

Pregunta 14 de 42

1

How will you implement secure file handling to prevent malicious file inclusion and DoS attacks?

Selecciona una de las siguientes respuestas posibles:

  • Findbugs

  • SecureFilehandling

  • FxCop

  • SecureFile

  • None of the above options

Explicación

Pregunta 15 de 42

1

The SecureFilehandling application only accepts the following file extensions:

Selecciona una de las siguientes respuestas posibles:

  • .xlsx

  • .class

  • .obj

  • .exe

  • Accepts all file extensions

Explicación

Pregunta 16 de 42

1

What are the types of streams in Java?

Selecciona una de las siguientes respuestas posibles:

  • Character and Byte Stream

  • Byte and Compact Stream

  • Character and Encode Stream

  • All of the above

  • None of the above options

Explicación

Pregunta 17 de 42

1

It is not a proper access privileges:

Selecciona una de las siguientes respuestas posibles:

  • The owner grants permission to the users to access the content available in the systems

  • All the files are created with access permissions so that unauthorized access can be denied

  • Multi user systems are generally owned by a particular user for instance system admin etc.

  • There ara various classes in java that handle characters streams and byte streams separately

  • None of the above options

Explicación

Pregunta 18 de 42

1

Which of the following instructions ensures proper File Cleanup when a program terminates?

Selecciona una de las siguientes respuestas posibles:

  • Runtime.getRuntime().exit(1);

  • exit();

  • terminate();

  • out.exit();

  • out.close();

Explicación

Pregunta 19 de 42

1

"It prevents untrusted code from modifying the class internal layout". In Security Manager Checks, this concept corresponds to:

Selecciona una de las siguientes respuestas posibles:

  • Prevents extracting any data

  • Check Constructor

  • Prevents modification

  • Prevents handling

  • None of the above options

Explicación

Pregunta 20 de 42

1

The project InputValidation not control one of the following statements?

Selecciona una de las siguientes respuestas posibles:

  • User login

  • User Password

  • Size password

  • User size

  • None of the above options

Explicación

Pregunta 21 de 42

1

On which side it is recommended to apply input validation?

Selecciona una de las siguientes respuestas posibles:

  • client-side

  • server-side

  • both

  • None of the above

Explicación

Pregunta 22 de 42

1

Which of the following types of input parameters is the most used in SQL vulnerabilities?

Selecciona una de las siguientes respuestas posibles:

  • Structured text

  • number

  • boolean

  • freetext

  • list of structured text

Explicación

Pregunta 23 de 42

1

Which of the following types of input parameters is the least used in XSS vulnerabilities?

Selecciona una de las siguientes respuestas posibles:

  • List of free text

  • structured text

  • number

  • boolean

  • enumeration

Explicación

Pregunta 24 de 42

1

What is the exact description of the regular expression "(a-z A-Z)(a-z A-Z 0-9_$)"?

Selecciona una de las siguientes respuestas posibles:

  • A valid java identifier consisting of alphanumeric characters, undercores and dolar signs with the first characer being an alphabet

  • A valid java identifier consisting of alphanumeric charecters and dollar signs with the first cgaracter bieng an alphabet

  • Any two-digit alphanumeric from 0-99 and a-z

  • Matches az, AZ and 9$

Explicación

Pregunta 25 de 42

1

Which of the following is not a recommendation of struts validation and securitiy?

Selecciona una de las siguientes respuestas posibles:

  • The absence of validation for a single field may allow attackers to exploit the application

  • Struts validation is done to prevent attacks caused through inchecked input

  • Each and every field included in the form should be validates in the correspondig validation form

  • Input validation through Servet filters in Java web applications is effecvtive due to minor modifications needed for input validation and servlet filets are centralized in nature

  • None of the above

Explicación

Pregunta 26 de 42

1

Indicate that statement does not belong to the class RuntimeException:

Selecciona una de las siguientes respuestas posibles:

  • ArrayStoreException

  • NegativeArraySizeException

  • FileNotFoundException

  • NullPointerException

  • SecurityException

Explicación

Pregunta 27 de 42

1

Which of the following is an exceptional behavior erroneous?

Selecciona una de las siguientes respuestas posibles:

  • Never catch NullPointerException

  • Disclosing sensitive information

  • Never throw undeclared checked exceptions

  • Logging sensitive data

  • All of the above

Explicación

Pregunta 28 de 42

1

Examples of Java Logging Frameworks:

Selecciona una de las siguientes respuestas posibles:

  • Apache Commons Logging

  • Log4J

  • Java Logging API

  • SLF4J

  • All of the above

Explicación

Pregunta 29 de 42

1

Which of the following is not a Secured Practices in Logging?

Selecciona una de las siguientes respuestas posibles:

  • Log Debug messages inside isDebugEnabled()

  • Make use of good java logging frameworks like java.util.logging or log4j

  • Log messages consitently and the messages must be informative

  • Ensure to include the formar of the java loggind in the specified java logger

  • Ensure to remove temporary files before termination to avoid information leakage and resource exhaustion

Explicación

Pregunta 30 de 42

1

HTTP Basic Authentication:

Selecciona una de las siguientes respuestas posibles:

  • Request a protected resource - Request username password - Sends username password - returns requested resource

  • Request username password - Sends username password - returns requested resource

  • Request username password - Request a protected resource - Sends username password - returns requested resource

  • Sends username password - Request username password - Request a protected resource - returns requested resource

  • None of the above options

Explicación

Pregunta 31 de 42

1

Which of the following is not a measure of prevention for attacks weak password?

Selecciona una de las siguientes respuestas posibles:

  • Impose a password againg policy

  • Impose web application accepts only user id credentials that contain all valid characters including special characters like !, @, #, $, etc.

  • Incorrect authentication failure messages should be avoided

  • Implement account lockout policy

  • None of the above

Explicación

Pregunta 32 de 42

1

Which of the following statements does not describe RBAC?

Selecciona una de las siguientes respuestas posibles:

  • It functions on the concept of user roles and information accessibility

  • This is the popular access control model

  • A user has access to resources based on the role assigned; roles are allocated depending on job function

  • The access control policies are imposed on policy, specific to the user

  • An organization has different departments, and roles are assigned based on requirements

Explicación

Pregunta 33 de 42

1

Which of the following is not a feature of JAAS?

Selecciona una de las siguientes respuestas posibles:

  • Is implemented usign pure JAVA

  • Supports single sig-on for login authentication in J2EE appplications

  • Provides centralized rol based control that includes hierarchical roles

  • Is implemented usign JAVA and JavaScript

  • Authentication of users is done through PAM Framework

Explicación

Pregunta 34 de 42

1

JAAS Configuration. The configurations file format consists of the following entries:

Selecciona una de las siguientes respuestas posibles:

  • LoginEntry

  • ModuleClass

  • Flag

  • Option="value"

  • All options are correct

Explicación

Pregunta 35 de 42

1

In the architecture of a Java EE application. Which of the following is not a component of the Web level?

Selecciona una de las siguientes respuestas posibles:

  • Web Services Client

  • Servlet

  • App Flow Processor

  • View Manager

  • None of the above

Explicación

Pregunta 36 de 42

1

Concurrency in Java. Which of the following is not a state of a thread?

Selecciona una de las siguientes respuestas posibles:

  • Suspended

  • Resumed

  • Blocked

  • Dead

  • Reset

Explicación

Pregunta 37 de 42

1

In ]ava, the following methods are vulnerable to race condition:

Selecciona una de las siguientes respuestas posibles:

  • 1) start()

  • 2) stop()

  • 3) init()

  • 4) 1 and 3

  • 5) 1, 2 and 3

Explicación

Pregunta 38 de 42

1

It is a countermeasure to session hijacking:

Selecciona una de las siguientes respuestas posibles:

  • See the session is not expired after users log out

  • Regularly clear the history and offline content

  • Prefer http than https in case of sensitive and confidential transactions

  • Make sure that cookies and sessions are stored from the browser

  • None of the above

Explicación

Pregunta 39 de 42

1

Which of the following statements does not include the Java Criptography Arquitecture engine?

Selecciona una de las siguientes respuestas posibles:

  • Key Store

  • Key pair Generator

  • Key Tools

  • CertStore

  • Key Factories

Explicación

Pregunta 40 de 42

1

javax.net and javax.net.ssl packages are the standard JSSE APIs that includes important classes such as:

Selecciona una de las siguientes respuestas posibles:

  • 1) SSLSocket

  • 2) SocketFactory

  • 3) ServerSocketFactory

  • 4) All of the above

  • 5) None of the above

Explicación

Pregunta 41 de 42

1

It is not a tool Java Cryptography:

Selecciona una de las siguientes respuestas posibles:

  • JCryption

  • Optimus Java

  • PrimeInk JAva

  • jdnssec

  • Cryptix

Explicación

Pregunta 42 de 42

1

Which of the following is not a countermeasure CRSF?

Selecciona una de las siguientes respuestas posibles:

  • Appropriately use GET and Post requests

  • Implement OWASP CRFGuard Library

  • Web applications should use weak authentications methods such as cookies, http authentication, etc

  • Check the referrer such as HTTP "referer"

  • None of the above

Explicación