Tag: testing

Questions Related to testing

  1. Website with URL https

  2. Website with URL http

  3. Windows application

  4. Only Website with URL http & Windows application


Correct Option: A,B,C
  1. Buffer overflows

  2. SQL Injection

  3. Cross site scripting

  4. Authentication

  5. Authorization


Correct Option: A,B,C
  1. Denial of service

  2. Executing malicious content

  3. Information disclosure

  4. All of the above


Correct Option: D
  1. Windows authentication

  2. SQL authentication

  3. Form based authentication

  4. Basic authentication

  5. Passport authentication

  6. All of the above


Correct Option: A,C,D,E
  1. SqlDataAdapter myCommand = new SqlDataAdapter( "SELECT CustomerName, Email, PhoneNo FROM users WHERE cust_id = '" + txtuser.Text + "'", myConnection);

  2. CREATE PROCEDURE procGetUser @custId VARCHAR(5) AS SELECT CustomerName, Email, PhoneNo FROM Customers WHERE cust_id = @custId

  3. SqlDataAdapter myDataAdapter = new SqlDataAdapter("SELECT CustomerName, Email, PhoneNo FROM Customers WHERE cust_id = @cust_id", connection); myCommand.SelectCommand.Parameters.Add("@cust_id", SqlDbType.VarChar,

  4. All the above


Correct Option: A
  1. Provide highest privilege

  2. Encode all client supplied data

  3. Use of parameterized stored procedure

  4. Providing detailed error message


Correct Option: B,C,D