
EC-CouncilBlockchain Developer Certification
Domain 5Objective 2
Ethereum Virtual Machine BDC Practice Questions (Page 5)
Part of the Ethereum and Smart Contract Development domain, which makes up ~11% of our current practice bank.
43questions here
9free pages
7concepts
Questions 21–25
- 21
A developer is writing a contract that uses require() to validate inputs. They want to provide a custom error message to the user. What is the most gas-efficient way to do this?
Select an answer first - 22
A user sends a transaction to a smart contract function that performs a state change and then calls an external contract that reverts. The user set a gas limit of 100,000 and the transaction consumed 80,000 gas before the revert. What happens to the remaining 20,000 gas?
Select an answer first - 23
Which characteristic best describes the EVM's stack-based architecture?
Select an answer first - 24
Why is the EVM considered deterministic?
Select an answer first - 25
A smart contract function needs to temporarily store a large data structure during execution and then discard it. The developer wants to minimize gas costs. Where should this data be stored?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “BDC” is a trademark of its owner, used for identification only.