
EC-CouncilBlockchain Developer Certification
Domain 5Objective 6
Contract Lifecycle: Design, Development, and Deployment BDC Practice Questions (Page 6)
Part of the Ethereum and Smart Contract Development domain, which makes up ~11% of our current practice bank.
40questions here
8free pages
7concepts
Questions 26–30
- 26
A developer is deploying a contract to the Ethereum mainnet using Hardhat. The deployment script uses `ethers.getContractFactory('MyContract')` and then `factory.deploy()`. The deployment fails with an error 'insufficient funds for gas * price + value'. What is the most likely cause?
Select an answer first - 27
What is required to deploy a smart contract to the Ethereum mainnet?
Select an answer first - 28
Which tool is commonly used to manage project dependencies, compile Solidity code, and run tests in a Hardhat project?
Select an answer first - 29
A developer is deploying a contract to the Ethereum mainnet and wants to ensure that the deployment transaction is not front-run by bots that might interact with the contract before initialization. Which deployment strategy is most effective?
Select an answer first - 30
A developer is designing a contract that handles user funds and wants to prevent reentrancy attacks. Which approach is the most robust and recommended?
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.