Lpi 030-100 Practice Exams
Last updated on Oct 22,2026- Exam Code: 030-100
- Exam Name: Web Development Essentials - Exam 030, version 1.0
- Certification Provider: Lpi
- Latest update: Oct 22,2026
Question #21
What is the primary difference between HTTP GET and POST methods?
- A . GET sends data in the header, while POST sends data in the request body.
- B . GET is secure, while POST is not.
- C . GET is used to upload files, while POST is used to download files.
- D . GET requests can be bookmarked, while POST requests cannot.
Correct Answer: A
Question #22
What is session hijacking in the context of web sessions?
- A . The process of legally transferring a session from one user to another
- B . A type of cyberattack where the attacker takes over a user’s session
- C . The use of cookies to store session data
- D . A method to increase session security
Correct Answer: B
Question #23
In the context of CSS, what does the term "accessibility" refer to?
- A . Making websites faster and more efficient
- B . Ensuring websites are easy to navigate and use by people with disabilities
- C . Making websites compatible with all browsers
- D . Enhancing the aesthetic appeal of websites
Correct Answer: B
Question #24
Which of the following is a best practice to prevent SQL injection in NodeJS?
- A . Using regular expressions to sanitize input
- B . Employing prepared statements or parameterized queries
- C . Storing database credentials in the code
- D . Concatenating user inputs directly into SQL queries
Correct Answer: B
Question #25
When establishing a database connection in NodeJS, which module is commonly used for MySQL?
- A . mysql
- B . mongodb
- C . sqlconnect
- D . db-mysql
Correct Answer: A
Question #26
In CSS, what does the float property do?
- A . Makes an element change its color when floated over
- B . Specifies how text should flow around an element
- C . Defines the transparency of an element
- D . Aligns elements vertically
Correct Answer: B
Question #27
In programming, what is a library?
- A . A collection of precompiled routines that a program can use
- B . A tool for version control
- C . An IDE feature that helps in debugging code
- D . A protocol for transferring source code over the internet
Correct Answer: A
Question #28
What is the purpose of the position property in CSS?
- A . To specify how text is aligned within an element
- B . To determine the method of positioning for an element
- C . To create animated effects
- D . To define the border style of an element
Correct Answer: B
Question #29
In NodeJS, how do you typically retrieve data from a MySQL database?
- A . Using the http.get method
- B . By executing a SELECT query with the mysql module
- C . Through direct file reading methods
- D . Using the fetch API
Correct Answer: B
Question #30
What is the purpose of meta tags in an HTML document?
- A . To add interactive elements to the page
- B . To provide metadata about the HTML document
- C . To link external JavaScript files
- D . To define the main content of the page
Correct Answer: B