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

Should I use Active Record Callbacks?

14
.
11
.
2023
Mateusz Woźniczka
Ruby on Rails
Backend
Tutorial

How to rescue a transaction to roll back changes?

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

Safe navigation operator '&.' vs '.try' in Rails

14
.
11
.
2023
Mateusz Woźniczka
Ruby on Rails
Backend
Ruby
Tutorial

What does the ||= operator actually mean in Ruby?

14
.
11
.
2023
Mateusz Woźniczka
Ruby on Rails
Backend
Ruby
Tutorial

How to design an entity - DDD in Ruby on Rails

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

Entity - DDD in Ruby on Rails

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

Should I use instance variables in Rails views?

14
.
11
.
2023
Mateusz Woźniczka
Ruby on Rails
Frontend
Backend
Tutorial

Data Quality in Ruby on Rails

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

We started using Event Storming. Here’s why!

14
.
11
.
2023
Mariusz Kozieł
Event Storming
Visuality

First Miłośnicy Ruby Warsaw Meetup

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

Should I use Action Filters?

14
.
11
.
2023
Mateusz Woźniczka
Ruby on Rails
Backend
Tutorial

Value Object - DDD in Ruby on Rails

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

Introduction to DDD in Ruby on Rails

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

Safe data migrations in Rails

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

I love dev, and so do we!

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

Updated guide to recruitment process at Visuality

14
.
11
.
2023
Michał Łęcicki
Visuality
HR

Visuality Academy for wannabe Junior Engineers

14
.
11
.
2023
Michał Piórkowski
HR
Visuality

How to approach funding as an MVP

14
.
11
.
2023
Michał Piórkowski
Business
Startups

Visuality 13th birthday

14
.
11
.
2023
Michał Piórkowski
HR
Visuality

How To Receive Emails With a Rails App in 2021

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

Project Quality in IT - How to Make Sure You Will Get What You Want?

02
.
10
.
2024
Wiktor De Witte
Ruby on Rails
Project Management
Business

5 Trends in HR Tech For 2021

14
.
11
.
2023
Maciej Zdunek
Business
Project Management