Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilBlockchain Business Leader Certification

Domain 4Objective 2

Ethereum Smart Contracts BBLC Practice Questions (Page 3)

Part of the Ethereum, Smart Contracts, and dApps domain, which makes up ~14% of our current practice bank.

44questions here
9free pages
8concepts

Questions 11–15

  1. 11application · medium

    A developer has written a Solidity smart contract that manages a token sale. The contract includes a constructor that sets the owner, a state variable for the token price, and a function that allows users to purchase tokens by sending Ether. The developer wants to deploy this contract to the Ethereum mainnet. What is the primary action the developer must take to make the contract available for users to interact with?

    Select an answer first
  2. 12application · medium

    A supply chain dApp stores a large array of tracking data on-chain. Users report that transactions calling the function to update a shipment status are frequently failing due to 'out of gas'. The contract's state variables are updated inside a loop that iterates over the entire array. What is the most effective way to reduce gas consumption for this function?

    Select an answer first
  3. 13application · medium

    A developer is writing a Solidity contract for a crowdfunding campaign. The contract needs to store the funding goal, track contributions, and allow the owner to withdraw funds once the goal is met. Which set of components is essential?

    Select an answer first
  4. 14foundation · easy

    What is 'gas' in the context of Ethereum smart contracts?

    Select an answer first
  5. 15expert · hard

    A smart contract for a decentralized exchange has a function that allows users to swap tokens. The function uses the `transferFrom` method of an ERC-20 token. An attacker is able to drain tokens from the contract by repeatedly calling the swap function before the first call completes. What is the most likely vulnerability?

    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. “BBLC” is a trademark of its owner, used for identification only.