Web App Security Quiz 1

Web App Security Quiz 1

University

15 Qs

quiz-placeholder

Similar activities

HTML Basics Quiz

HTML Basics Quiz

1st Grade - University

10 Qs

Web - TRPL 7C

Web - TRPL 7C

11th Grade - University

15 Qs

Web technology quiz

Web technology quiz

University

15 Qs

Node.js Server

Node.js Server

University

20 Qs

HTML,CSS,SCRIPT QUIZZ

HTML,CSS,SCRIPT QUIZZ

University

18 Qs

Quiz Week 7

Quiz Week 7

University

10 Qs

AM#1

AM#1

University

10 Qs

Web Services

Web Services

University

10 Qs

Web App Security Quiz 1

Web App Security Quiz 1

Assessment

Quiz

Computers

University

Hard

Created by

Udhayakumar Shanmugam

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HTTP Status Code for "Access is forbidden to the requested page."

404

504

403

503

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

"HTTP is stateless" which means

The client and server are not aware of each other during a current request. Afterwards, both of them remember each other. Due to the stateless nature of protocol, the client and the server will retain the information about different request across the web pages

The client and server are aware of each other during a current request only. Afterwards, both of them continue to maintain the information about different request across the web pages

The client and server are aware of each other during a current request only. Afterwards, both of them forget each other. Due to the stateless nature of protocol, neither the client nor the server can retain the information about different request across the web pages

It is a connectionless approach in which HTTP client i.e., a browser initiates the HTTP request and after the request is sent the client disconnects from server and waits for the response.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PHP provides mysqli contruct or mysqli_connect() function to open a database connection. This function takes minimum of ................ parameters

2

3

1

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. <?php  

  2. $a;  

  3. if ($a)  

  4. {  echo "hi";  

  5. }  

  6. else  {  

  7. echo "How are you";  

  8. }  

  9. ?>  

  1. Hi How are you

  1. Hi

Error

  1. How are you

Answer explanation

In the given program, the variable $a is uninitialized. So, the if condition will fail, and the echo statement of else block will be printed on screen.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Amazon Lambda is ..................

Function as a Service

Backend as a Service

Server as a Service

Mathematical Formula as a Service

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the present version of HTTP

HTTP/1.1

HTTP/2

HTTP/3

HTTP/4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<script

src="https://code.jquery.com/jquery-3.3.1.slim.min.js"

integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"

crossorigin="anonymous">

</script>

The above code represents

HTML sanitization Code

security-focused encoding library code

Sub resource integrity Check Code

JSLint Code

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?