19
.
12
.
2024
18
.
12
.
2024
Ruby
Visuality

How to become a Ruby Certified Programmer

Michał Łęcicki
Ruby Developer
How to become a Ruby Certified Programmer Title image

Official certifications aren’t very popular in the Ruby on Rails community, but one is available if you’re interested: the Ruby Association Certified Ruby Programmer Examination. This test checks your knowledge of the Ruby programming language. I decided to give it a try!I passed the exam and want to share my insights to help you do the same.

What is it?

The Ruby Association Certified Ruby Programmer Examination is available in two levels of difficulty: Silver and Gold. At the moment the test assesses your knowledge of Ruby version 3.1. The Silver certification focuses on foundational concepts, while the Gold covers more advanced topics like metaprogramming and ractors. You must pass the Silver level before being eligible to attempt the Gold level.

Each test consists of 50 multiple-choice questions; you have 90 minutes to complete it. A passing score requires 75% (38/50 correct answers). The exam is performed onsite by Prometric, an organization with testing centers in major cities worldwide. To register, use Prometric's system. The test is offline, but you’ll take it on a computer at the testing center. Results are provided immediately after you finish, and the certificate is emailed about a week later.

Silver Test Topics

The Silver test covers the foundations of the Ruby language, including built-in classes and modules. That’s a lot! The good news is that prep test example reflects the actual exam well. While the questions aren’t identical, they are very similar. For instance, a different word might be used in a question about regex pattern, or the numbers in an array slicing question may vary.

The prep test also reveals the structure of the questions. Some are trivial, while others are surprisingly tricky. There may be a varying number of correct answers per question. The distribution of topics is also similar: expect 1–3 questions about regex, 1–3 about file reading/writing, and more emphasis on key classes like Array, Hash and String.

If you write Ruby code professionally and studied the prep test thoroughly, you have a good chance of passing. However, don’t just memorize answers—make sure you understand the intent behind each question and explore all possible answers.

Here are the strategies that worked for me during preparations:

  • Master the basics: study Ruby’s reserved keywords, literals, error handling, and operator precedence.
  • Read the documentation: analyze all the base classes and modules
  • Experiment in the console: test methods with edge cases and unusual inputs. Explore less common methods for String, Array, and Hash. (For example, what does array.take(0) return? 😉)
  • Review the prep tests: study the Ruby 3.1 prep test again and revisit the older Ruby 2.0 version.
  • Use AI: ask ChatGPT to clarify complex methods and advanced use cases.

Tips & tricks on writing the exam

Writing any exam can be stressful, so there are some basic tips to stick to:

  • take care of yourself: have a bottle of water, and eat something before the test :)
  • read questions carefully, some of them are designed to be misinterpreted at first sight
  • resolve easy questions right away and mark problematic questions with a flag; come back to them later
  • the organizers provide you with a notepad; use it to write down method execution results or take notes
  • revisit all questions before submitting the exam; confirm a valid number of answers is chosen, try to spot silly mistakes
  • regardless of the final result, be grateful to yourself! You invested time, energy, and money into your growth and dared to check your knowledge - kudos to you! 🏅

Materials

Here, I gathered a bunch of links we found useful during learning.

Prep test Silver with answers
https://github.com/ruby-association/prep-test/blob/master/silver.md
https://github.com/ruby-association/prep-test/blob/version3/silver_answers.md

Prep test Silver for ruby 2.1
https://www.ruby.or.jp/assets/images/en/certification/exam_prep_en.pdf

Topics

Ruby Reserved words

Ruby precedence operators
https://ruby-doc.org/core-3.1.0/doc/syntax/precedence_rdoc.html

Literals
https://docs.ruby-lang.org/en/3.1/syntax/literals_rdoc.html

Pre-defined global variables
https://docs.ruby-lang.org/en/3.1/globals_rdoc.html

Object
https://docs.ruby-lang.org/en/3.1/BasicObject.html

String
https://docs.ruby-lang.org/en/3.1/String.html

Integer
https://docs.ruby-lang.org/en/3.1/Integer.html

Numeric
https://docs.ruby-lang.org/en/3.1/Numeric.html

Array
https://docs.ruby-lang.org/en/3.1/Array.html

Hash
https://docs.ruby-lang.org/en/3.1/Hash.html

Range
https://docs.ruby-lang.org/en/3.1/Range.html

IO
https://docs.ruby-lang.org/en/3.1/IO.html#

File
https://docs.ruby-lang.org/en/3.1/File.html

Regexp
https://docs.ruby-lang.org/en/3.1/Regexp.html

Enumerable
https://docs.ruby-lang.org/en/3.1/Enumerable.html

Comparable
https://docs.ruby-lang.org/en/3.1/Comparable.html

Date
https://docs.ruby-lang.org/en/3.1/Date.html

Time
https://docs.ruby-lang.org/en/3.1/Time.html

Exceptions
https://docs.ruby-lang.org/en/3.1/Exception.html
https://www.exceptionalcreatures.com/bestiary.html

Nil
https://docs.ruby-lang.org/en/3.1/NilClass.html

Summary

Still in doubt? I guarantee that during preparation for the Ruby Certification exam, you will learn something new about Ruby, no matter how long you code!

Michał Łęcicki
Ruby Developer

Check my Twitter

Check my Linkedin

Did you like it? 

Sign up To VIsuality newsletter

READ ALSO

How to become a Ruby Certified Programmer Title image

How to become a Ruby Certified Programmer

14
.
11
.
2023
Michał Łęcicki
Ruby
Visuality
Vector Search in Ruby - Paweł Strzałkowski

Vector Search in Ruby

17
.
03
.
2024
Paweł Strzałkowski
ChatGPT
Embeddings
Postgresql
Ruby
Ruby on Rails
LLM Embeddings in Ruby - Paweł Strzałkowski

LLM Embeddings in Ruby

17
.
03
.
2024
Paweł Strzałkowski
Ruby
LLM
Embeddings
ChatGPT
Ollama
Handling Errors in Concurrent Ruby, Michał Łęcicki

Handling Errors in Concurrent Ruby

14
.
11
.
2023
Michał Łęcicki
Ruby
Ruby on Rails
Tutorial
Recap of Friendly.rb 2024 conference

Insights and Inspiration from Friendly.rb: A Ruby Conference Recap

02
.
10
.
2024
Kaja Witek
Conferences
Ruby on Rails

Covering indexes - Postgres Stories

14
.
11
.
2023
Jarosław Kowalewski
Ruby on Rails
Postgresql
Backend
Ula Sołogub - SQL Injection in Ruby on Rails

The Deadly Sins in RoR security - SQL Injection

14
.
11
.
2023
Urszula Sołogub
Backend
Ruby on Rails
Software
Michal - Highlights from Ruby Unconf 2024

Highlights from Ruby Unconf 2024

14
.
11
.
2023
Michał Łęcicki
Conferences
Visuality
Cezary Kłos - Optimizing Cloud Infrastructure by $40 000 Annually

Optimizing Cloud Infrastructure by $40 000 Annually

14
.
11
.
2023
Cezary Kłos
Backend
Ruby on Rails

Smooth Concurrent Updates with Hotwire Stimulus

14
.
11
.
2023
Michał Łęcicki
Hotwire
Ruby on Rails
Software
Tutorial

Freelancers vs Software house

02
.
10
.
2024
Michał Krochecki
Visuality
Business

Table partitioning in Rails, part 2 - Postgres Stories

14
.
11
.
2023
Jarosław Kowalewski
Backend
Postgresql
Ruby on Rails

N+1 in Ruby on Rails

14
.
11
.
2023
Katarzyna Melon-Markowska
Ruby on Rails
Ruby
Backend

Turbo Streams and current user

29
.
11
.
2023
Mateusz Bilski
Hotwire
Ruby on Rails
Backend
Frontend

Showing progress of background jobs with Turbo

14
.
11
.
2023
Michał Łęcicki
Ruby on Rails
Ruby
Hotwire
Frontend
Backend

Table partitioning in Rails, part 1 - Postgres Stories

14
.
11
.
2023
Jarosław Kowalewski
Postgresql
Backend
Ruby on Rails

Table partitioning types - Postgres Stories

14
.
11
.
2023
Jarosław Kowalewski
Postgresql
Backend

Indexing partitioned table - Postgres Stories

14
.
11
.
2023
Jarosław Kowalewski
Backend
Postgresql
SQL Views in Ruby on Rails

SQL views in Ruby on Rails

14
.
11
.
2023
Jan Grela
Backend
Ruby
Ruby on Rails
Postgresql
Design your bathroom in React

Design your bathroom in React

14
.
11
.
2023
Bartosz Bazański
Frontend
React
Lazy Attributes in Ruby - Krzysztof Wawer

Lazy attributes in Ruby

14
.
11
.
2023
Krzysztof Wawer
Ruby
Software

Exporting CSV files using COPY - Postgres Stories

14
.
11
.
2023
Jarosław Kowalewski
Postgresql
Ruby
Ruby on Rails
Michał Łęcicki - From Celluloid to Concurrent Ruby

From Celluloid to Concurrent Ruby: Practical Examples Of Multithreading Calls

14
.
11
.
2023
Michał Łęcicki
Backend
Ruby
Ruby on Rails
Software