What is a common practice to prevent XSS attacks in web development?
Anonymous Quiz
15%
Use HTTPS only
24%
Avoid using external scripts
60%
Sanitize user inputs
1%
Disable JavaScript
What is the primary purpose of using caching in HTTP requests?
Anonymous Quiz
41%
Speed up page load times
1%
Increase security by encrypting data
58%
Reduce server load by storing frequently accessed data
0%
Decrease website traffic
What is the purpose of a Rails middleware in an application?
Anonymous Quiz
86%
To handle HTTP requests and responses
6%
To manage database connections
4%
To define routes for URLs
4%
To encrypt sensitive data
What Ruby method is used to free memory occupied by an object?
Anonymous Quiz
15%
nil?
31%
delete
33%
clear
21%
free
👎5