Black Friday Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

CBDE Questions and Answers

Question # 6

To generate a random number:

A.

it's good to use the block timestamp, as this is always different.

B.

it's good to use the block hash as this is clearly always very different.

C.

it's good to use the RANDAO smart contract.

D.

it's not possible to have a random number in a deterministic environment such as the Ethereum blockchain.

Full Access
Question # 7

For Rapid Development Cycles it's good:

A.

to deploy to the main-network as quickly as possible.

B.

to use in-memory blockchain simulations, because mining works instantaneously.

C.

to use a private network at all times, because this is the closest you get to the real network.

Full Access
Question # 8

Hashing Mining uses:

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.

Full Access
Question # 9

What are Ethereum Nodes?

A.

Programs implementing the Ethereum Protocol to talk to each other and JSON-RPC interfaces to talk to the outside world.

B.

A Java-Script library to compile and run Solidity Code.

C.

A Framework for deploying and running smart contract in a decentralized way.

Full Access
Question # 10

A Private Network is:

A.

a side Channel to the Ethereum Main Net which costs less gas to run smart contracts.

B.

an exact clone of the Rinkeby Test-Network which can be started as virtual machine in the Azure Cloud.

C.

a Network running only in a private area, where people cannot join freely and openly.

Full Access
Question # 11

The Fallback function:

A.

cannot receive Ether, not even by adding the payable modifier.

B.

can contain as much logic as you want, but it’s better to keep it short and not exceed the gas stipend of 2300 gas.

C.

can be used to avoid receiving ether.

Full Access
Question # 12

When you do external calls to other smart contracts:

A.

you should follow the checks-effects-interactions pattern and avoid state changes after the call.

B.

you should follow the effects-checks-interactions pattern and avoid state changes before the call.

C.

you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.

Full Access
Question # 13

Address.send():

A.

will cascade exceptions and address.transfer() will return a false on error.

B.

will return false on error while address.transfer() will cascade transactions.

Full Access
Question # 14

Go-Ethereum vs. Ganache:

A.

both are the same, just implemented in a different language.

B.

with Go-Ethereum you get a real blockchain node where you can create your own local private network, connect to Test-Networks or the Main-Net, while with Ganache you get an in-memory blockchain simulation.

C.

with Ganache you get a real blockchain node where you can connect to the Test-Networks Rinkeby and Ropsten.

Full Access
Question # 15

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.

Full Access