Technology Questions

Q:

What is the use of multi-threaded fetching in Amazon S3?

Answer

- Multi-threading fetching in Amazon S3 is used to fetch the objects concurrently using the multiple threads and map the task so that fetching can be made simpler. 


- It is not a good practice to increase the threading for a particular object as every node on the server has some bandwidth constraints. 


- It provides user the ease with which they can upload the files and upload the threads in parallel. 


- It provides high speed of data transfer and easy maintenance of the sever as well.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

1 2360
Q:

What is a Session?

Answer

A session is a logical object created by the PHP engine to allow you to preserve data across subsequent HTTP requests. Sessions are commonly used to store temporary data to allow multiple PHP pages to offer a complete functional transaction for the same visitor.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2359
Q:

Oracle Server supports two different forms of replication: Basic and Advanced replication. Explain difference between these.

Answer

Basic Replication : Basic replication is implemented using standard CREATE SNAPSHOT or CREATE MATERIALIZED VIEW statements. It can only replicate data and not procedures, indexes replication is always one-way, and snapshot copies are read only.


Advanced Replication : Advanced replication supports various configurations of updatable snapshot, multi-master and update anywhere replication. It is more difficult to configure but allows data and other database objects like indexes and procedures to be replicated.


 


Differences between Basic and Advanced replications:


- With basic replication, data replicas provide read-only access to the table data whereas advanced replication features extend the capabilities of basic read-only replication by allowing applications to update table replicas throughout a replicated database system.


- With Basic Replication applications can query data from local data replicas. On the other hand with advanced replication, data replicas anywhere in the system can provide both read and update access to a table's data.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2359
Q:

Why is code optimization important?

Answer

Optimized code tends to run faster and make more efficient use of the system’s resources. Optimized codes are also less susceptible to errors and take lesser space in memory and in file size.

Report Error

View answer Workspace Report Error Discuss

0 2358
Q:

How can you avoid callback hells ?

Answer

There are lots of ways to solve the issue of callback hells:


1. Modularization: break callbacks into independent functions
2. Use a control flow library, like async
3. Use generators with Promises
4. Use async/await (note that it is only available in the latest v7 release and not in the LTS version)

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

3 2352
Q:

What is Bit Mapped Index?

Answer

Bitmap indexes make use of bit arrays (bitmaps) to answer queries by performing bitwise logical operations.


Bitmap indexes are useful in the data warehousing applications.


Bitmap indexes have a significant space and performance advantage over other structures for such data.


Tables that have less number of insert or update operations can be good candidates.


The advantages of Bitmap indexes are:


   - They have a highly compressed structure, making them fast to read.


   - Their structure makes it possible for the system to combine multiple indexes together so that they can      access the underlying table faster.


The Disadvantage of Bitmap indexes is:


  - The overhead on maintaining them is enormous. 

Report Error

View answer Workspace Report Error Discuss

0 2351
Q:

What is the purpose of declaring a variable as final?

Answer A final variable's value can't be changed. final variables should be initialized before using them.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2349
Q:

Which interface implements the standard query operators in LINQ?

Answer

The standard query operators implement the IEnumerable<T> or the IQueryable<T> interface in C# and the IEnumerable(Of T) or the IQueryable(Of T) interface in Visual Basic.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2347