
EC-CouncilBlockchain Developer Certification
Domain 5Objective 2
Ethereum Virtual Machine BDC Practice Questions (Page 2)
Part of the Ethereum and Smart Contract Development domain, which makes up ~11% of our current practice bank.
43questions here
9free pages
7concepts
Questions 6–10
- 6
A developer is writing a contract that needs to store a large amount of data. They are considering using a mapping of bytes32 to bytes32. What is the gas cost implication of storing a new key-value pair?
Select an answer first - 7
A smart contract function is designed to transfer tokens only if the recipient is not blacklisted. The developer wants to ensure that if the recipient is blacklisted, the entire transaction is rolled back and no state changes persist. Which EVM mechanism should be used?
Select an answer first - 8
A developer is deploying a contract that includes a loop iterating over an unbounded array. The team is concerned about the transaction running out of gas. What is the best practice to mitigate this risk?
Select an answer first - 9
What is the primary purpose of gas in the Ethereum network?
Select an answer first - 10
A developer is writing a function that transfers Ether to a contract. The developer wants to ensure that if the recipient contract's fallback function reverts, the entire transaction is rolled back. Which Solidity construct should be used?
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.