SQL Server Questions and Answers – Replication

This set of SQL Server Multiple Choice Questions & Answers (MCQs) focuses on “Replication”.

1. ___________ is a set of technologies for copying and distributing data and database objects from one database to another.
a) Replication
b) Database Mirroring
c) Log Shipping
d) None of the mentioned
View Answer

Answer: a
Explanation: Using replication, you can distribute data to different locations and to remote or mobile users over local and wide area networks.

2. Point out the correct statement.
a) Transactional replication is typically used in server-to-server
b) Transactional replication is typically used in client-to-server
c) Transactional replication is typically used in client-to-client
d) None of the mentioned
View Answer

Answer: a
Explanation: Transactional replication is used in scenarios that require high throughput, including improving scalability and availability.

3. How many types of replication is provided by SQL Server?
a) 2
b) 3
c) 4
d) 5
View Answer

Answer: b
Explanation: Microsoft SQL Server provides three types of replication for use in distributed applications.
advertisement
advertisement

4. Replication in SQL Server is used to overcome ________________
a) Performance problems
b) Availability problems
c) Maintenance problems
d) All of the mentioned
View Answer

Answer: d
Explanation: Replication allows us to maintain the same database multiple copies at different locations.

5. Point out the wrong statement.
a) Log shipping and mirroring allows to maintain complete database redundancy
b) Replication allows to maintain some part of the database (a set of required objects) at users location
c) Replication is object level low availability feature
d) All of the mentioned
View Answer

Answer: c
Explanation: Replicate doesn’t distribute entire database, but only distributes some part of database like tables or views ensuring high availability feature.

6. Which of the following is a disadvantage of replication?
a) Improved performance
b) To move data closer to the user
c) Easy maintenance
d) None of the mentioned
View Answer

Answer: d
Explanation: In SQL Server 2005, replication had to be stopped in order to perform some actions like adding nodes, making schema changes, etc. But in 2008, these can be done online.

7. Which of the following stored procedure provide replication support for AlwaysOn?
a) sp_validate_replica_publishers
b) sp_validate_hosts_as_publishers
c) sp_validate_replica_hosts_as_publishers
d) all of the mentioned
View Answer

Answer: c
Explanation: Four new stored procedures provide replication support for AlwaysOn.
advertisement

8. How many types of replication components are present in SQL Server?
a) 6
b) 7
c) 8
d) 9
View Answer

Answer: c
Explanation: SQL Server replication is based on the “Publish and Subscribe” metaphor.

9. Which of the following makes data available for replication?
a) Article
b) Publisher
c) Distributor
d) Subscription
View Answer

Answer: b
Explanation: Publisher is a source database where replication starts.
advertisement

10. Two types of subscriptions present for replication is _____________
a) push and pull
b) throw and pull
c) push and throw
d) none of the mentioned
View Answer

Answer: a
Explanation: Push subscriptions are created at the Publisher server and pull subscriptions initiates the replication instead of the publisher.

Sanfoundry Global Education & Learning Series – SQL Server.

To practice all areas of SQL Server, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.