March Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Blockchain CBDE BTA Certified Blockchain Developer - Ethereum Exam Practice Test

Demo: 15 questions
Total 102 questions

BTA Certified Blockchain Developer - Ethereum Questions and Answers

Question 1

Loops in Solidity:

Options:

A.

are a great way to circumvent gas requirements, because a loop will only consume gas once.

B.

are dangerous when used with data structures that grow, such as arrays or mapping, because it is hard to estimate the gas requirements.

C.

should be avoided where possible, because of unknown side-effects on the gas requirements.

Question 2

It's not possible to use inheritance from multiple sources in Solidity.

Options:

A.

True

B.

False

Question 3

A Mapping consists of keys and value.

Options:

A.

the Keys can be anything, but the value can't be another mapping or struct.

B.

the Value can be anything, but the key cannot be another mapping, struct, integer or Boolean.

C.

the value can be anything, but the key cannot be another mapping, struct, enum or dynamically sized array.

Question 4

PoS:

Options:

A.

would be better, because it can reduce the amount of energy needed for mining.

B.

would be worse, because it would increase the amount of energy needed for mining.

Question 5

With the truffle config file you can manage:

Options:

A.

the amount of gas your contract deployment and transactions, against your contract, will need. This way you can essentially lower the gas costs over traditional web3.js dApps.

B.

different Networks to deploy your contracts to. This way you can easily deploy to a local blockchain, the main-net or the Ropsten/Rinkeby Test-Net with only one parameter.

C.

you can manage your secret API keys to the Ethereum Network. This way you can get access to several different Ethereum nodes at the same time without the need to switch your keyfiles.

Question 6

When a smart contract pays out money:

Options:

A.

it’s good to use a push over a pull method.

B.

it’s good to use a push and a pull method to ensure that participants can get their money no matter the contract state. In addition to and pushing it should contain a withdraw method.

C.

it's good to use only pull and no push method.

Question 7

Hashing Mining uses:

Options:

A.

Keccack256 while internally to hash values it's easy to use the Dagger-Hashimoto to create a meaningful hash.

B.

the Dagger-Hashimoto hashing while internally the EVM uses SHA256 which is an alias for Keccack256.

C.

the Dagger-Hashimoto hashing while internally the EVM uses Keccack256 which is almost similar to SHA256, but has a different padding so produces different hashes.

Question 8

Why is it important to follow the same Interfaces?

Options:

A.

Websites that try to interface with the Token would have to know the exact ABI. It is upfront clear how the interaction has to be with the standard Interfaces.

B.

The Ethereum Foundation can easily validate the Tokens and approve any audits by following the standard interface.

Question 9

View and Pure Functions:

Options:

A.

can only be accessed during calls.

B.

can be accessed during transactions and calls.

Question 10

What's the difference between Ethereum Request for Comments (ERC) and Ethereum Improvement Proposals (EIP)?

Options:

A.

ERC are here to define standards for the usage of Ethereum. EIP are here to improve the Ethereum Protocol itself.

B.

ERC are here to propose new distributed applications on top of the Ethereum layer, while EIP are here to improve existing mining software.

C.

ERC are an open platform to discuss continuous forking of the Ethereum platform. Successful forks are then incorporated in the EIP for further voting by the Ethereum Consortium.

Question 11

It's easy to write clean-room unit-tests with truffle:

Options:

A.

for Java, JavaScript, and C++

B.

for JavaScript using Web3.js

C.

for Solidity and JavaScript

D.

for any language, as long as it adheres to the open Testing-Interface from Truffle

Question 12

What are Private Keys used for?

Options:

A.

To Protect the Public Keys by being cryptographically significant.

B.

To Sign Transactions And To Derive an Address From.

C.

To Generate An Address which can sign transactions.

Question 13

Ethereum Nodes:

Options:

A.

must implement the Ethereum protocol and external access can only be done via the proprietary Ethereum Libraries like Web3.js.

B.

must implement the Ethereum Protocol and a JSON-RPC to talk with clients.

C.

must implement Web3.js to interact with Websites.

Question 14

If you are starting a new ERC20 token:

Options:

A.

it would be best to start from scratch, just looking at the required interface.

B.

it is beneficial to copy and paste the already existing code from the Ethereum wiki and modify this until you like it.

C.

best is to start with an audited implementation, for example from OpenZeppelin, in order to reuse already existing code.

Question 15

Solidity gets compiled:

Options:

A.

to bytecode that can't be understood by humans.

B.

to bytecodes which are essentially opcodes running instruction by instruction.

Demo: 15 questions
Total 102 questions