Mock Exam Flashcards
Status Code 401
Indicates authentication error. Often due to incorrect details.
Example - username error
Status Code 404
Indicates that the requested resource could not be found on the server
200 OK Status Code
Indicates request was successful, and data loads as expected.
Example - Data loaded successfully
Encryption
Used to secure data within a smart contract
Which technology provides security for secure transactions?
Blockchain
When promoting the reliability of a DApps system, which feature would reassure a stakeholder with security concerns?
Answer - No single point of failure.
Definition - In DApps, no single point of failure ensures that if one component fails, the others can continue operating, improving reliability
What is the purpose of a ‘contract registry’ within a distributed application framework?
A contract registry is a list of all deployed smart contracts in a system, allowing easy reference and validation.
Example - contract registry might be used to ensure the correct version of a smart contract is being accessed by clients
Which cloud deployment model would be most appropriate for ensuring data security while still leveraging cloud resources?
Hybrid Cloud.
Hybrid Cloud combines public and private cloud resources, providing a balance of security and scalability
Which term refers to the concept of distributing computing resources as close to the source of data as possible?
Edge Computing.
Edge computing brings data processing closer to the source, reducing latency and improving efficiency.
Which technology would allow for automating the process of deploying, scaling, and managing containerised applications?
Docker.
Docker automates container deployment and management, making it easier to scale and manage applications
In a RESTful API, what is the purpose of the HTTP DELETE method?
Remove an existing resource - DELETE is used to remove resources on a server.
What does the term ‘latency’ refer to in a distributed network?
The time delay in transmitting data across the network
Which tool could be used to visually monitor and manage containerised applications?
Kubernetes Dashboard
What does the term ‘smart contract’ imply in the context of blockchain applications?
A smart contract is an agreement coded into the blockchain that automatically enforces the terms, ensuring the data integrity and protection
API Rate Limiting
Restricts the number of API requests a user can make within a given timeframe
Which characteristic is essential to consider in designing a distributed application for high availability?
Multiple instances across different locations
Explain the concept of ‘Service-Oriented Architecture’ (SOA) and its impact on distributed application design.
SOA - architectural style that enables different services to communicate over a network.
Impacts distributed applications by allowing modular, reusable services that can be independently maintained, enhancing flexibility and scalability.
Summarise the process for testing a smart contract and the steps to take before releasing it.
- Compilation.
- Writing test cases for each function and possible scenarios using Mocha Chai Framework.
- Running automated tests using tools like Truffle or Hardhat.
- Conducting security audits to identify vulnerabilities.
- Deploying on a testnet before launching on the main network to check for issues.
Define and describe how ‘gas’ operates within the blockchain system to manage transaction fees.
Gas refers to the fees required to execute transactions on the blockchain.
Each operation has a gas cost, and users pay based on the computational resources they consume, ensuring fair usage and network stability.
Illustrate how an IT team could benefit from an ‘Address Book’ within their system.
Address Book - stores user or contract addresses in a smart contract environment.
Could be used to manage and retrieve contract addresses efficiently, improving usability.