Loading...
QUIZ

Certification Test

 
Que No. 1 ) What is the purpose of Rails "partials"?

A.) To define routes
B.) To encapsulate reusable pieces of view code
C.) To define database models
D.) To manage authentication


Que No. 2 ) What is the Rails gem used for managing environment variables and secrets?

A.) dotenv
B.) secrets_gem
C.) envconfig
D.) config_vars


Que No. 3 ) What is the Rails convention for organizing application configuration settings?

A.) Storing them in a config.yaml file
B.) Storing them in a .env file
C.) Storing them in a settings.rb file
D.) Storing them in a config/application.rb file


Que No. 4 ) What is the Rails gem used for background job processing?

A.) backgroundrb
B.) delayed_job
C.) async_rails
D.) job_runner


Que No. 5 ) What is a "migration rollback" in Rails?

A.) A way to add new database tables
B.) A way to undo a database migration
C.) A way to add new routes
D.) A way to create new controllers


Que No. 6 ) What is "Rails caching"?

A.) A way to store application data in a cache
B.) A method for securing database connections
C.) A way to define controller actions
D.) A type of route


Que No. 7 ) What is the purpose of "partials" in Rails views?

A.) To define routes
B.) To encapsulate reusable pieces of view code
C.) To define database models
D.) To manage authentication


Que No. 8 ) Which Rails gem is commonly used for managing user roles and permissions?

A.) rolify
B.) authorization_gem
C.) user_roles
D.) permissions_manager


Que No. 9 ) What is the Rails gem used for testing applications?

A.) testgem
B.) unit_test
C.) test_suite
D.) RSpec


Que No. 10 ) In Rails, what is "validation"?

A.) A way to secure database connections
B.) The process of checking if data meets certain criteria
C.) A way to define controller actions
D.) A type of route