When using K-means clustering, why is it sometimes recommended to run the algorithm multiple times with different initializations?
- To ensure deterministic results.
- To make the algorithm run faster.
- To mitigate sensitivity to initial cluster centers.
- To reduce the number of clusters.
K-means clustering is sensitive to initial cluster centers. Running it multiple times with different initializations helps find a more stable solution.
When both precision and recall are important for a problem, one might consider optimizing the ________ score.
- Accuracy
- F1 Score
- ROC AUC
- Specificity
The F1 Score is a measure that balances both precision and recall. It is especially useful when you want to consider both false positives and false negatives in your classification problem.
t-SNE is particularly known for preserving which kind of structures from the high-dimensional data in the low-dimensional representation?
- Global Structures
- Local Structures
- Numerical Structures
- Geometric Structures
t-SNE is known for preserving local structures in the low-dimensional representation, making it effective for visualization and capturing fine-grained relationships.
Which clustering method assigns data points to the nearest cluster center and recalculates the center until convergence?
- Agglomerative
- DBSCAN
- Hierarchical
- K-Means
K-Means clustering is an iterative algorithm that assigns each data point to the nearest cluster center, recalculating these centers until they converge.
Imagine you're developing a model to recognize rare bird species from images. You don't have many labeled examples of these rare birds, but you have a model trained on thousands of common bird species. How might you leverage this existing model for your task?
- Fine-tuning the Pre-trained Model
- Random Initialization of Weights
- Training the Model from Scratch
- Using the Model Only for Common Bird Recognition
Fine-tuning involves taking a pre-trained model and adjusting its parameters, typically only in the final layers, to specialize it for your specific task, which is recognizing rare bird species in this case.
In CNNs, the ________ layer is responsible for detecting features in an image.
- Convolutional
- Pooling
- Fully Connected
- Input
The 'Convolutional' layer in a Convolutional Neural Network (CNN) is responsible for detecting features in an image using convolution operations.
Which file on an SSH client contains the public keys of remote hosts it has connected to?
- known_hosts
- authorized_keys
- id_rsa.pub
- known_keys
The file on an SSH client that contains the public keys of remote hosts it has connected to is known_hosts. This file maintains a record of the public keys of remote servers or hosts you have previously connected to. It is used for verifying the authenticity of remote hosts during future SSH connections.
In Red Hat-based distributions, which command would you use to update all installed packages?
- yum update
- apt-get update
- dnf upgrade
- pacman -Syu
In Red Hat-based distributions, such as CentOS and Fedora, you would use the yum update command to update all installed packages. This command fetches and installs the latest updates for your system's software packages.
You've been tasked with setting up static IP configurations for multiple interfaces on a Linux server. In which directory and/or file would you primarily focus your configuration efforts?
- /etc/network/interfaces
- /etc/resolv.conf
- /etc/hostname
- /etc/hosts
When configuring static IP addresses for network interfaces in Linux, you would primarily focus your efforts on the "/etc/network/interfaces" file. This file is used to define network interface configurations, including static IP settings.
For performance enhancement, QEMU often pairs with which Linux kernel module?
- KVM
- SELinux
- LXC
- XFS
For performance enhancement, QEMU often pairs with the Linux Kernel-based Virtual Machine (KVM) module. KVM is a kernel module that allows QEMU to leverage hardware virtualization extensions, resulting in better performance for virtual machines.
A colleague asks you to temporarily disable a user's access without deleting their account. Which Linux command allows you to achieve this?
- passwd -l
- userdel
- chmod 000
- usermod -s /sbin/nologin
To temporarily disable a user's access without deleting their account, you can use the 'passwd -l' command. This locks the user's password, preventing them from logging in until the password is unlocked.
To manage user authentication in an enterprise setting, Linux systems can integrate with _________ directories for centralized account management.
- Active Directory
- LDAP
- NIS
- RADIUS
To manage user authentication in an enterprise setting, Linux systems can integrate with LDAP (Lightweight Directory Access Protocol) directories for centralized account management. LDAP allows Linux systems to access user account information stored in a centralized directory, making it easier to manage users and their permissions across the network.