DevOps - Unit-2
AMonitor
BPlan
COperate
DBuild
Correct Answer
Build
Arunning automated tests throughout the delivery pipeline for rapid feedback
Btesting only after release
Ctesting only manually at the end
Dskipping tests to save time
Correct Answer
running automated tests throughout the delivery pipeline for rapid feedback
Athe whole application is built and deployed as a single unit
Bevery feature is a separate service
Cthe application has no database
Dcode is never changed after release
Correct Answer
the whole application is built and deployed as a single unit
Asmall, independently deployable services
Bone large deployable package
Conly database tables
Dhardware servers
Correct Answer
small, independently deployable services
Asmall changes require redeploying the whole application
Bit cannot store data
Cit needs no testing
Dit can never be scaled
Correct Answer
small changes require redeploying the whole application
Awriting all code in one file
Bseparating developers from testers
Ckeeping the database away from the application
Ddividing a system into parts, each with a distinct responsibility
Correct Answer
dividing a system into parts, each with a distinct responsibility
Abackups of the database
Bcopies of the application server
Cuser login records
Dscripted, versioned changes to the database schema
Correct Answer
scripted, versioned changes to the database schema
ASelenium
BFlyway
CGerrit
DJasmine
Correct Answer
Flyway
Aall services share one table
Beach service owns its own data
Cno service stores data
Ddata is kept only on the client
Correct Answer
each service owns its own data
Aall systems must be monolithic
Btests must be written first
Corganisations design systems that mirror their communication structure
Ddatabases must be normalised
Correct Answer
organisations design systems that mirror their communication structure
Arun without any code
Brecover from failures and keep working
Cavoid being tested
Duse less memory only
Correct Answer
recover from failures and keep working
AGoogle
BNetflix
CMicrosoft
DOracle
Correct Answer
Netflix
ALoose coupling and high cohesion
BHigh coupling and low cohesion
CTight coupling and tight cohesion
DNo separation between components
Correct Answer
Loose coupling and high cohesion
Adelaying releases
Bremoving the need for developers
Celiminating monitoring
Dfinding defects early
Correct Answer
finding defects early
Acompiler, linker and loader
Bplan, code and release
Cpresentation, business logic and data access
Dmaster, slave and agent
Correct Answer
presentation, business logic and data access
Atesting earlier in the development lifecycle
Btesting only after deployment
Cmoving tests to the operations team
Dstopping testing altogether
Correct Answer
testing earlier in the development lifecycle
Aa database server
Ba source code repository
Ca build server
Da single entry point that routes requests to services
Correct Answer
a single entry point that routes requests to services
Aencrypts all network traffic
Bstops calls to a failing service to prevent cascading failures
Cbuilds the application
Dschedules database backups
Correct Answer
stops calls to a failing service to prevent cascading failures
Aincreasing the number of servers
Bthe ability to respond quickly to market and customer changes
Cavoiding any change to software
Dreducing the team size
Correct Answer
the ability to respond quickly to market and customer changes
Adatabases cannot be changed
Bold and new application versions may run against the same schema during a rollout
Cmigrations never need testing
Dapplications never change
Correct Answer
old and new application versions may run against the same schema during a rollout
AMonolithic
BMicroservices
CSingle-tier
DBatch-only
Correct Answer
Microservices
Amanual UI tests
Bexploratory tests
Cload tests
Dunit tests
Correct Answer
unit tests
Amigration
Bcompilation
Credundancy
Drefactoring
Correct Answer
redundancy
Acompile the source code
Bstore passwords
Crender web pages
Dprovide asynchronous communication and decouple components
Correct Answer
provide asynchronous communication and decouple components
Athe need for version control
Bthe need for automation
Cthe number of tests
Dthe risk of each release
Correct Answer
the risk of each release
Fill in the Blanks
26
A __________ architecture packages all functionality into a single deployable unit.
Correct Answer
monolithic
27
Microservices commonly communicate using lightweight protocols such as HTTP/__________.
Correct Answer
REST
28
__________ of concerns is the principle of dividing a program into parts with distinct responsibilities.
Correct Answer
Separation
29
Scripted, versioned changes to a database schema are called database __________.
Correct Answer
migrations
30
In a microservices architecture each service owns its own __________ tier.
Correct Answer
data
31
Netflix's __________ Monkey randomly terminates instances to test resilience.
Correct Answer
Chaos
32
__________ testing is the automated testing carried out throughout the delivery pipeline.
Correct Answer
Continuous
33
Testing earlier in the lifecycle is known as __________-left testing.
Correct Answer
shift
34
The __________ breaker pattern stops calls to a failing service.
Correct Answer
circuit
35
'Organisations design systems that mirror their communication structure' is known as __________'s Law.
Correct Answer
Conway
36
The ability of a system to recover from failures is called __________.
Correct Answer
resilience
37
An API __________ is a single entry point to a set of microservices.
Correct Answer
gateway
38
The test __________ shows many unit tests, fewer integration tests and very few UI tests.
Correct Answer
pyramid
39
Flyway and __________ are tools used for database migrations.
Correct Answer
Liquibase
40
Components should have low coupling and high __________.
Correct Answer
cohesion