- Home
- MCQs by exam
- NTS
NTS MCQs · Page 159
5,604 multiple choice questions typical of the NTS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
One row as a Series
Correct answer
-
B
One column as a Series
-
C
The whole DataFrame
-
D
A single scalar cell
-
A
By count, lowest first
-
B
By the index labels
-
C
By original row order
-
D
By count, highest first
Correct answer
-
A
Duplicate rows in each column
-
B
Bytes of memory per column
-
C
Missing counts for each column
Correct answer
-
D
Total entries in each column
-
A
The memory used in bytes
-
B
The dtype of every column
-
C
The count of non-null entries
-
D
The number of rows and columns
Correct answer
-
A
Drops columns holding any missing value
-
B
Fills every missing value with zero
-
C
Drops repeated index entries
-
D
Drops rows holding any missing value
Correct answer
-
A
A ValueError, because the indexes are not identical
-
B
A Series indexed 1 to 4, with zeros at 1 and 4
-
C
A Series indexed 1 to 4, with NaN at 1 and 4
Correct answer
-
D
A Series of length 3, added element-wise by position
-
A
loc works only on Series objects
-
B
iloc works only on numeric columns
-
C
loc uses labels; iloc uses positions
Correct answer
-
D
loc uses positions; iloc uses labels
-
A
The first five rows
Correct answer
-
B
The last five rows
-
C
Five randomly chosen rows
-
D
The five largest values
-
A
Storing exactly one copy of each object
-
B
Acquiring and releasing resources automatically
Correct answer
-
C
Keeping a fixed pool of reserved servers
-
D
Moving workloads to cheaper regions
-
A
Replicas converge once writes stop
Correct answer
-
B
Reads always see the newest write
-
C
Writes are refused during a partition
-
D
Every replica holds a separate schema
-
A
Containers cannot be isolated at all
-
B
Containers share the host kernel
Correct answer
-
C
Containers each boot a full guest OS
-
D
Containers need a hypervisor to run
-
A
The maximum number of tenants
-
B
Guaranteed uptime and service credits
Correct answer
-
C
The platform's full source code
-
D
The exact hardware in every host
-
A
Isolating resources in a private network
Correct answer
-
B
Publishing an application to the internet
-
C
Running virtual machines on local hosts
-
D
Replicating a database across regions
-
A
Encrypts them at the network edge
-
B
Spreads them across healthy servers
Correct answer
-
C
Compresses them before storage
-
D
Assigns them to one fixed server
-
A
Nothing, if replicas exist
-
B
Consistency or availability
Correct answer
-
C
Durability or consistency
-
D
Latency or throughput
-
A
The licence count of the software
-
B
The number of load balancers used
-
C
The largest machine that can be bought
Correct answer
-
D
The number of network ports used
-
A
Per reserved virtual machine hour
-
B
Per gigabyte of block storage
-
C
Per administrator account
-
D
Per request and execution duration
Correct answer
-
A
Providing virtual machines on demand
-
B
Caching content at edge sites near users
Correct answer
-
C
Encrypting traffic between data centres
-
D
Balancing writes across database replicas
-
A
One customer uses several providers
-
B
Several operating systems run on a host
-
C
Data is copied to several regions
-
D
Several customers share provider resources
Correct answer
-
A
Adding more CPU and memory to a host
-
B
Moving data nearer to the users
-
C
Removing availability zones
-
D
Adding more instances to a pool
Correct answer
-
A
Object storage
Correct answer
-
B
Block storage
-
C
Local ephemeral disk
-
D
A relational database
-
A
Move workloads between providers
-
B
Match resource capacity to current demand
Correct answer
-
C
Reduce the number of cloud regions used
-
D
Encrypt data automatically at rest
-
A
The hypervisor and its host kernel
-
B
Operating systems and applications
Correct answer
-
C
Only the application source code
-
D
Physical servers and the network fabric
-
A
12
Correct answer
-
B
21
-
C
1
-
D
2
-
A
Automatic conversion to a raw pointer
-
B
Storage of objects without a deleter
-
C
Exclusive ownership that cannot be copied
Correct answer
-
D
Shared ownership counted per object