Which of the following is a common technique to reduce the size of web resources for faster loading? MCQ with Answer and Explanation

Which of the following is a common technique to reduce the size of web resources for faster loading?
A. All of the above
B. Compression (Gzip)
C. Image optimization
D. Minification
Answer: Option A
Solution (By JKExamLibrary)
Minification, compression, and image optimization are all effective methods to reduce resource size and improve load times.

This question belongs to: Computer Internet and Web Technologies

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1 Report Error
What is the purpose of the 'X-Frame-Options' HTTP header?
A. To set cookies
B. To enable CORS
C. To specify content security policy
D. To prevent clickjacking by controlling iframe embedding

Correct Answer: Option D


Explanation:
X-Frame-Options is used to indicate whether a browser should be allowed to render a page in a , , or , helping to prevent clickjacking.

This question belongs to: Computer Internet and Web Technologies
Question #2 Report Error
Which of the following is a method to improve the security of a website by preventing attacks like XSS?
A. Output encoding
B. All of the above
C. Content Security Policy (CSP)
D. Input validation

Correct Answer: Option B


Explanation:
Output encoding, input validation, and CSP are all effective defenses against XSS attacks.

This question belongs to: Computer Internet and Web Technologies
Question #3 Report Error
Which of the following is a type of web cookie that is deleted when the browser is closed?
A. Secure cookie
B. Session cookie
C. Third-party cookie
D. Persistent cookie

Correct Answer: Option B


Explanation:
Session cookies (non-persistent) exist only until the browser is closed, while persistent cookies have an expiration date.

This question belongs to: Computer Internet and Web Technologies