Free RISC-V Foundational Associate (RVFA) Practice Questions
100 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the RISC-V Foundational Associate (RVFA) practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1Where did the RISC-V instruction set project begin?
- A.The Parallel Computing Laboratory at UC BerkeleyCorrect answer: A
- B.The Computer Laboratory at the University of Cambridge
- C.The Artificial Intelligence Laboratory at MIT
- D.The Department of Computer Science at Stanford
Explanation: "Prof. Krste Asanović and graduate students Yunsup Lee and Andrew Waterman started the RISC-V instruction set in May 2010 as part of the Parallel Computing Laboratory (Par Lab) at UC Berkeley, of which Prof. David Patterson was Director." The project originated in Berkeley's Par Lab.
Reference: About RISC-V International — History of RISC-V, Research at Berkeley
2In RV32I, how many bits are in each integer x register?
3Which CSR instruction uses a register mask to set writable bits in a CSR while returning its old value?
- A.CSRRSCorrect answer: A
- B.CSRRC
- C.CSRRW
- D.CSRRWI
Explanation: "The CSRRS (Atomic Read and Set Bits in CSR) instruction reads the value of the CSR, zero-extends the value to XLEN bits, and writes it to integer register rd. The initial value in integer register rs1 is treated as a bit mask that specifies bit positions to be set in the CSR." CSRRS returns the old value and sets the masked writable bits.
Reference: Zicsr Extension for Control and Status Register Instructions — CSR Instructions
4A developer wants GCC to compile RISC-V C source into an assembly file without assembling it. Which option should be used?
5An S-mode trap handler inspects sstatus.SPP after a trap from U-mode. What does the field indicate?
- A.The previous privilege was user modeCorrect answer: A
- B.Supervisor interrupts were enabled before the trap
- C.The interrupt source is currently pending
- D.The exception PC contains the next instruction
6What does the V in the name RISC-V commemorate?
- A.Five standard privilege levels in the architecture
- B.A fifth generation following earlier Berkeley RISC projectsCorrect answer: B
- C.Five vendors that created the first processor design
- D.A vector extension included in every implementation
Explanation: “The effort in 2010 to build a new RISC instruction set based on everything learned in the intervening 30 years was called RISC-V (“risk five”) to honor the prior Berkeley projects (RISC-I, RISC-II, …).” The name honors the earlier Berkeley RISC projects.
Reference: RISC-V International FAQ — Why is it called RISC-V?
7What value does an RV32I instruction read from register x0?
- A.The address of the current instruction
- B.The value last written to the register
- C.Zero in every bitCorrect answer: C
- D.The current stack pointer
8For CSRRS or CSRRC with rs1=x0, what happens to the addressed CSR?
- A.It is read without being writtenCorrect answer: A
- B.It is written with zero without being read
- C.It is read and then all its bits are cleared
- D.It is neither read nor written
Explanation: "For both CSRRS and CSRRC, if rs1=x0, then the instruction will not write to the CSR at all, and so shall not cause any of the side effects that might otherwise occur on a CSR write, nor raise illegal-instruction exceptions on accesses to read-only CSRs. Both CSRRS and CSRRC always read the addressed CSR and cause any read side effects regardless of rs1 and rd fields." The CSR is read but no CSR write is attempted.
Reference: Zicsr Extension for Control and Status Register Instructions — CSR Instructions
10When a trap enters S-mode, what happens to the supervisor interrupt-enable state?
- A.SIE is copied to SPIE, and SIE is clearedCorrect answer: A
- B.SPIE is copied to SIE, and SPIE is cleared
- C.SIE is set and SPIE is cleared
- D.SIE and SPIE are both left unchanged
Exam Review
About RISC-V Foundational Associate (RVFA)
RISC-V Foundational Associate (RVFA) · US
Key exam facts
- Provider
- Linux Foundation; remotely proctored through PSI Bridge
- Format
- Online proctored multiple-choice examination in English
- Exam questions
- Total questions: 60.
- Time limit
- 90 minutes
- Passing score
- 75% or above
- Exam fee
- $250, examination only
Topics covered
RISC-V Overview (10%)
- History of RISC-V: The Free and Open ISA
- RISC-V International
- RISC-V Documentation
- Contribute to RISC-V
RISC-V Instruction Set Architecture (35%)
- RV32I and RV64I
- Understand Instruction Formats: branching, accessing memory, and accessing data structures
- Understand the modularity of RISC-V as an ISA: core ratified (M, C, F, D, A) and other extensions
- Understand Privilege Modes, system calls, CSRs, exceptions, and interrupt handling
- Understand memory model, cache management, and virtual memory management
Assembly Language for RISC-V (25%)
- Understand RISC-V specific assembly language syntax and features, including CSR access
- Write and debug RISC-V assembly code
- Assess performance of assembly code
- Convert high-level code to assembly code
High Level Languages for RISC-V: C Programming (15%)
- Understand RISC-V tools including compilers, debuggers, simulators, performance tools, OSes, and SDKs
- Understand calling conventions (ABIs), the stack, and disassembly
- Understand inline assembly
RISC-V Operating Systems & Tools (15%)
- Fundamentals of Operating Systems including implementing basic OS functionality in RISC-V ASM
- Understanding basic use and functionality of firmware for RISC-V platforms
- Understanding microcontrollers versus application processors
- Running RISC-V Applications in a General Purpose OS
How to prepare
Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.
These independent practice questions are not actual exam items and do not guarantee a passing result.
Frequently asked questions
What is the exam format?
Online proctored multiple-choice examination in English
How many questions are on the exam?
Total questions: 60.
How long is the exam?
90 minutes
What is the passing score?
75% or above
How much does the exam cost?
$250, examination only
Official sources and references
- RVFA official examination page
Domains & Competencies, all five expanded domains
- RVFA official examination page
Main heading and introductory examination applicability
- RVFA official examination page
Exam Details & Resources
- Multiple Choice Exams: Frequently Asked Questions
What score is needed to pass the exam?
- Multiple Choice Exams: Frequently Asked Questions
How is my exam scored?
- Multiple Choice Exams: Important Instructions
Exam Details: question count and CNPA exception
- RVFA official examination page
Includes: duration
- RVFA official examination page
Prerequisites
- RVFA official examination page
Purchase choices, first option
- Candidate Handbook: Exam Registration
Exam Registration, opening paragraphs
- Candidate Handbook: Exam Registration
Register for an Exam
- Candidate Handbook: Scheduling, Rescheduling, Cancelling an Exam
Find a Date & Time
- Candidate Handbook: Scheduling, Rescheduling, Cancelling an Exam
Find a Date & Time, information notice
- Candidate Handbook: Language
Certification Exams language grid, English (EN) column and RVFA row
- Multiple Choice Exams: Important Instructions
System Requirements to take the exam
- Linux Foundation Global Certification and Confidentiality Agreement
Section 3.5, Certification or Testing of Minors
- Multiple Choice Exams: Important Instructions
ID Requirements to take the Exam, minors
- Multiple Choice Exams: Important Instructions
Sanctioned Countries
Confirm current exam arrangements with the exam provider.