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

Super Slide Me - Game Written in React

14
.
11
.
2023
Antoni Smoliński
Frontend
React
Jarek Kowalewski - ILIKE vs LIKE/LOWER - Postgres Stories

ILIKE vs LIKE/LOWER - Postgres Stories

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

A look back at Friendly.rb 2023

14
.
11
.
2023
Cezary Kłos
Conferences
Ruby

Debugging Rails - Ruby Junior Chronicles

14
.
11
.
2023
Piotr Witek
Ruby on Rails
Backend
Tutorial

GraphQL in Ruby on Rails: How to Extend Connections

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

Tetris on Rails

17
.
03
.
2024
Paweł Strzałkowski
Ruby on Rails
Backend
Frontend
Hotwire

EURUKO 2023 - here's what you've missed

14
.
11
.
2023
Michał Łęcicki
Ruby
Conferences

Easy introduction to Connection Pool in ruby

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

When crazy ideas bring great time or how we organized our first Conference!

04
.
12
.
2023
Alexander Repnikov
Ruby on Rails
Conferences
Visuality

Stacey Matrix & Takeaways - why does your IT project suck?

02
.
10
.
2024
Wiktor De Witte
Project Management
Business

A simple guide to pessimistic locking in Rails

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

Poltrax design - story of POLTRAX (part 3)

04
.
12
.
2023
Mateusz Wodyk
Startups
Business
Design

Writing Chrome Extensions Is (probably) Easier Than You Think

14
.
11
.
2023
Antoni Smoliński
Tutorial
Frontend
Backend

Bounded Context - DDD in Ruby on Rails

17
.
03
.
2024
Paweł Strzałkowski
Ruby on Rails
Domain-Driven Design
Backend
Tutorial

The origin of Poltrax development - story of POLTRAX (part 2)

29
.
11
.
2023
Stanisław Zawadzki
Ruby on Rails
Startups
Business
Backend

Ruby Meetups in 2022 - Summary

14
.
11
.
2023
Michał Łęcicki
Ruby on Rails
Visuality
Conferences

Repository - DDD in Ruby on Rails

17
.
03
.
2024
Paweł Strzałkowski
Ruby on Rails
Domain-Driven Design
Backend
Tutorial

Example Application - DDD in Ruby on Rails

17
.
03
.
2024
Paweł Strzałkowski
Ruby on Rails
Domain-Driven Design
Backend
Tutorial

How to launch a successful startup - story of POLTRAX (part 1)

14
.
11
.
2023
Michał Piórkowski
Ruby on Rails
Startups
Business

How to use different git emails for different projects

14
.
11
.
2023
Michał Łęcicki
Backend
Tutorial

Aggregate - DDD in Ruby on Rails

17
.
03
.
2024
Paweł Strzałkowski
Ruby on Rails
Domain-Driven Design
Backend
Tutorial

Visuality at wroc_love.rb 2022: It's back and it's good!

14
.
11
.
2023
Patryk Ptasiński
Ruby on Rails
Conferences
Ruby

Our journey to Event Storming

14
.
11
.
2023
Michał Łęcicki
Visuality
Event Storming