Exam Details

  • Exam Code
    :CBDE
  • Exam Name
    :BTA Certified Blockchain Developer - Ethereum
  • Certification
    :Blockchain Other Certification
  • Vendor
    :Blockchain
  • Total Questions
    :102 Q&As
  • Last Updated
    :May 03, 2024

Blockchain Blockchain Other Certification CBDE Questions & Answers

  • Question 21:

    Address.Call vs. Address.Delegatecall:

    A. Address.call() is used for calling other contracts using the scope of the called contract in terms of storage variables. Address.delegatecall() is used for libraries, which uses the storage variables of the contract who called. Libraries are a great way to re-use already existing code and delegatecall can make sure that no storage is used from the library, instead it looks like the code is directly copied into the calling contract.

    B. Address.delegatecall() is used for calling other contracts using the scope of the called contract in terms of storage variables. Address.call() is used for libraries, which uses the storage variables of the contract who called. Libraries are a great way to re-use already existing code and call() can make sure that no storage is used from the library, instead it looks like the code is directly copied into the calling contract.

  • Question 22:

    If you need more fine-grained functionality than solidity offers out of the box:

    A. you can incorporate inline-assembly to get better controls.

    B. you have to import pre-compiled assembly files which are then hard-copied into the bytecode of the compiled solidity file.

    C. you can use Viper, the experimental assembly like language specifically to offer more flexibility.

  • Question 23:

    Using selfdestruct(beneficiary) with the beneficiary being a contract without a payable fallback function:

    A. will throw an exception, because the fallback function is non-payable and thus cannot receive ether.

    B. it's impossible to secure a contract against receiving ether, because selfdestruct will always send ether to the address in the argument. This is a design decision of the Ethereum platform.

    C. selfdestruct doesn't send anything to a contract, it just re-assigns the owner of the contract to a new person. Sending ether must be done outside of selfdestruct.

  • Question 24:

    When using require to check input parameters and it evaluates to false:

    A. all gas is consumed

    B. all remaining gas is returned.

  • Question 25:

    To send ether to a contract without a function call:

    A. a fallback function must be declared and it must be made payable. If there is no fallback function or the fallback function is not payable it will throw an exception.

    B. either a fallback function which is payable exists, or no fallback function at all exists.

    C. you cannot send ether to a contract without explicitly calling a function. The fallback function can never receive ether.

  • Question 26:

    When using assert to check invariants and it evaluates to false: A. all gas is consumed.

    B. all remaining gas is returned.

  • Question 27:

    All low-level functions on the address, so address.send(), address.call.valueQQ, address.callcode and address.delegatecall:

    A. are interrupting execution on error, because they throw an exception.

    B. continuing execution on error silently, which is the reason why they are so dangerous.

    C. returning Booleans to indicate an error during execution.

    D. .send() throws an exception, while the other functions are returning Booleans during execution to indicate an error.

  • Question 28:

    The difference between address.send() and address.transfer() is:

    A. .send returns a Boolean and .transfer throws an exception on error. Both just forward the gasstipend of 2300 gas and are considered safe against re-entrancy.

    B. .send throws an exception and .transfer returns a Boolean on error. Both just forward the gasstipend of 2300 gas and considered safe against re-entrancy

    C. .send returns a Boolean and .transfer throws an exception on error. .send is considered dangerous, because it sends all gas along, while .transfer only sends the gas stipend of 2300 gas along

    D. .send and .transfer are both considered low-level functions which are dangerous, because they send all gas along. It's better to use address.call.value()() to control the gas-amount.

  • Question 29:

    When solidity is compiled then also Metadata is generated:

    A. the Metadata contains the ABI Array, which defines the Interface to interact with the Smart Contract. Metadata can also contain the address of the smart contract when it gets deployed.

    B. metadata contains the address, and the size of the smart contract. The ABI Array is generated externally upon deploying the smart contract.

    C. the ABI array and the Metadata are not generated when solidity is compiled to bytecode, its generated by a migration software which deploys the smart contract on the blockchain.

  • Question 30:

    Finish the sentence: The Library Web3.js is ...:

    A. useful when developing distributed applications with HTML and JavaScript, because it already implements the abstraction of the JSON-RPC interface of Ethereum Nodes.

    B. necessary when developing distributed applications with HTML and JavaScript, because the proprietary JSON-RPC interface of Ethereum Nodes is a closed source.

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Blockchain exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CBDE exam preparations and Blockchain certification application, do not hesitate to visit our Vcedump.com to find your solutions here.