Docsity

Google Cloud Certification Learning Path- Professional, Exams of Computer Science

Toggle sidebar
bg1
Google Cloud Certification Learning
Path- Professional Machine Learning
Engineer Exam Rated A+ Verified 2024
0.0 and 1.0 - ANSWER-The learning rate is a configurable hyperparameter used in the
training of neural networks that has a small positive value, often in the range between
_______
1. Entity extraction
2. text classification
3. sentiment analysis - ANSWER-What are the NLP tasks solved by AutoML?
1. Ingest streaming results,
2. Process data
3. Visualize results - ANSWER-Streaming data workflow steps
5% - ANSWER-What percent of system code does the ML model account for?
80-10-10 - ANSWER-Default setting in AutoML for the data split in model evaluation
A data source constructs a Dataset from data stored in memory or in one or more files
and a data transformation constructs a dataset from one or more tf.data.Dataset
objects. - ANSWER-Distinct way to create a dataset
A Google Cloud Storage bucket that acts as an input for both AutoML and custom
training jobs - ANSWER-Vertex AI has a unified data reparation tool that supports
image, tabular, text and video content. Where are uploaded datasets stored in Vertex
AI?
A large learning rate value may result in the model learning a sub-optimal set of weights
too fast or an unstable training process - ANSWER-The learning rate is a
hyperparameter that controls how much to change the model in response to the
estimated error each time the model weights are updated. Choosing the learning rate is
challenging. What can happen if the value is too large?
A large number of parameters comes from the dense layers at the end, and the
convolutional layers contain far fewer parameters - ANSWER-What is the proportion of
the number of parameters in the entire network while computing
A standard LSTM cell includes three gates: the forget gate to forget irrelevant
information, the input gate to remember relevant information, and the update gate to
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Google Cloud Certification Learning Path- Professional and more Exams Computer Science in PDF only on Docsity!

Google Cloud Certification Learning

Path- Professional Machine Learning

Engineer Exam Rated A+ Verified 2024

0.0 and 1.0 - ANSWER-The learning rate is a configurable hyperparameter used in the training of neural networks that has a small positive value, often in the range between


  1. Entity extraction
  2. text classification
  3. sentiment analysis - ANSWER-What are the NLP tasks solved by AutoML?
  4. Ingest streaming results,
  5. Process data
  6. Visualize results - ANSWER-Streaming data workflow steps 5% - ANSWER-What percent of system code does the ML model account for? 80-10-10 - ANSWER-Default setting in AutoML for the data split in model evaluation A data source constructs a Dataset from data stored in memory or in one or more files and a data transformation constructs a dataset from one or more tf.data.Dataset objects. - ANSWER-Distinct way to create a dataset A Google Cloud Storage bucket that acts as an input for both AutoML and custom training jobs - ANSWER-Vertex AI has a unified data reparation tool that supports image, tabular, text and video content. Where are uploaded datasets stored in Vertex AI? A large learning rate value may result in the model learning a sub-optimal set of weights too fast or an unstable training process - ANSWER-The learning rate is a hyperparameter that controls how much to change the model in response to the estimated error each time the model weights are updated. Choosing the learning rate is challenging. What can happen if the value is too large? A large number of parameters comes from the dense layers at the end, and the convolutional layers contain far fewer parameters - ANSWER-What is the proportion of the number of parameters in the entire network while computing A standard LSTM cell includes three gates: the forget gate to forget irrelevant information, the input gate to remember relevant information, and the update gate to

update new information. - ANSWER-What are the major gates in a standard LSTM (long short-term memory) cell? A task to be performed and a docker container to be executed - ANSWER-Kubeflow tasks are organized into a dependency graph where each node represents Ability to scale to a large dataset, find good features, it should be able to preprocess with vertex AI - ANSWER-Which of the following are the requirements to build an effective machine learning model? Accounting and summarizing, anomaly detection, statistical analysis and clustering - ANSWER-Components of EDA Adding dropout layers to NN - ANSWER-How does regularization help build generalizable models adds the sum of the squared parameter weights term to the loss function - ANSWER- The L2 regularization provides: after turning your raw data into a useful feature vector - ANSWER-In what form can raw data b used inside ML models? An RNN uses a mechanism called hidden state to carry the previous information to the next learning iteration. - ANSWER-What is the key feature to enable a "memory" of an RNN (recurrent neural network)? Analytics Hub - ANSWER-_________- efficiently and securely exchanges data analytics assets across organizations to address challenges of data reliability and cost. You can create and access a curated library of internal and external assets, including unique datasets like Google Trends, backed by the power of BigQuery. There are three roles in _____________ - A Data Publisher, Exchange Administrator, and a Data Subscriber. Apache and TF - ANSWER-What is TensorFlow Transform a hybrid of? Archive storage - ANSWER-Which data storage class is best for storing data that needs to be accessed less than once a year, such as online backups and disaster recovery? Ask the user for some basic preferences. Rely on content-based method instead for new users - ANSWER-What are some ways you can address the cold-start problem that can occur for new users of a collaborative filter recommendation system? There could be more than one answer. AutoML - ANSWER-What method do you use to create and train a model with minimal technical effort to quickly prototype models and explore new datasets before investing in development?

CBOW uses surrounding words to predict a center word, whereas skip-gram uses a center word to predict surrounding words. - ANSWER-What is the difference between continuous bag-of-words (CBOW) and skip-gram, the two primary techniques of word2vec? Check for missing data and other mistakes, gain maximum insight into the data set and its underlying structure, uncover a parsimonious model, one which explains the data with a minimum number of predictor variables - ANSWER-what are the objectives of EDA Choose an existing processor created for a specialized task, choose an existing processor created for general purposes, create a custom processor and build it on your own - ANSWER-what are the options to create a processor for document AI Classification model - ANSWER-What model would you use if your problem required a discrete number of values or classes? Cleaning tools, monitoring tools - ANSWER-Categories of data quality tools Cloud Dataflow is the API for data pipeline building in java or python and Apache Beam is the implementation and execution framework. - ANSWER-Describe the relationship between Apache Beam and Cloud Dataflow? CNN - ANSWER-Which of the following networks is used in identifying faces, objects, and traffic signs? Compared to basic vectorization, which converts text to sparse vectors, word embedding converts text to dense vectors. Compared to basic vectorization, which converts text to vectors without semantic meaning, word embeddings represent words in a vector space where the distance between them indicates semantic similarity and difference. You can use pre-trained word-embedding to represent text. - ANSWER-What are the benefits of using word embedding (such as word2vec) compared to basic vectorization (such as one-hot encoding) when you convert text to vectors? Compute - ANSWER-Compute engine, Google Kubernetes Engine, App Engine and Cloud Functions represent which type of services Confusion matrix - ANSWER-One of the ket tools to help in understanding inclusion and how to introduce inclusion across different kinds of groups across your data is by understanding _______. Connectors allow you to output the results of a pipeline to a specific data sink like Bigtable, Google Cloud Storage, flat file, BigQuery, and more. - ANSWER-What is the purpose of a Cloud Dataflow connector? .apply(TextIO.write().to("gs://..."));

Container Logging - ANSWER-Which type of logging should be enabled in the online prediction that logs the stderr and stdout streams from your prediction nodes to cloud logging and can be useful for debugging? Continuous classification - ANSWER-In addition to CI/CD practiced by DevOps teams, MLOps introduces: convolution - ANSWER-__________ is the process of sliding a kernel across an image Create a dataset and upload data, train an ML model, Deploy trained model to an endpoint for serving predictions - ANSWER-Stages of the ML workflow that can be managed with Vertex AI Create ML model inside BQ - ANSWER-Data has been loaded into BQ, and the features have been selected and preprocessed. What should happen next when you use BQML to develop a machine learning model? Cross entropy - ANSWER-loss function used for classification problems Custom training - ANSWER-Select the correct word below to fill in the blank: Vertex AI is flexible. You choose your training method. _____________ lets you create a training application optimized for your targeted outcome. You have complete control over training application functionality; you can target any objective, use any algorithm, develop your own loss functions or metrics, or do any other customization. Custom Training - ANSWER-Which code based solution offered with Vertex AI gives Data Scientists full control over the development env and process? Data Augmentation - ANSWER-set of techniques to artificially increase the amount of data by generating new data points from existing data Data parallelism in distributed training - ANSWER-Run the same model & computation on every device, but train each of them using different training samples Data prep, model training, model serving - ANSWER-What are the major stages of an end-to-end workflow to build an NLP project with vertex AI Data preparation - ANSWER-Which stage of the ML workflow includes feature engineering? Data preparation, model training, model serving - ANSWER-Machine learning workflow Database and storage - ANSWER-Cloud storage, coud bigtable, cloud sql, cloud spanner and firestone represent which type of services?

understand an entire dataset in an intuitive fashion. The key here is to utilize visualizations that help unlock nuances and insights in large datasets. Which tool would be most appropriate? False - ANSWER-(T/F) Hyperparameter tuning happens before model training and is the task responsible for assigning initial weights to the variables (or parameters) which allow the model to find patterns on the data. False - ANSWER-(T/F) Non-linearity helps in training your model at a much faster rate and with more accuracy without the loss of your important information? False - ANSWER-(T/F) When building a content-based recommender system, it's not important to express both your items and users using the same embedding space (that is. the same dimensions and features). False Positive - ANSWER-when the label says something doesn't exist but the model says it exists FARM_FINGERPRINT, an opensource hashing algorithm that is implemented in BQ and SQL - ANSWER-What allows you to split the dataset based upon a field in your data? Fast experimentation, accelerated deployment and simplified model management - ANSWER-What does Vertex AI offer to achieve your ML goals? feature - ANSWER-A value that is passed as an input to a model Feature columns - ANSWER-describes how the model should use raw input data from your features dictionary Feature Cross - ANSWER-It is a process of combining features into a single feature, enables a model to learn separate weights for each combination of features. Feature Cross - ANSWER-synthetic feature formed by multiplying (crossing) two or more features. Crossing combinations of features can provide predictive abilities beyond what those features can provide individually Feature ingestion - ANSWER-Which of the following is the process of importing feature values computed by your feature engineering jobs into a featurestore? Feature Registry - ANSWER-Where are the features registered? Feature store, data catalog, dataplex - ANSWER-What are the parts of google's enterprise data management and governance tool?

First, upload data to Google Cloud Storage. Next, move code into a trainer Python package. Then submit your training job with gcloud to train on Vertex AI. Feedback: This answer is correct. - ANSWER-To make your code compatible with Vertex AI, there are three basic steps that must be completed in a specific order. Choose the answer that best describes those steps. For small datasets, train the model within the notebook instance - ANSWER-Your dataset is considered small, less than 5,000 rows and around 10MB. You are not using AutoML but a Jupyter Notebook instance. Which of the following is a Best Practice for Training a model with a small dataset? Framing the problem - ANSWER-In ML development which phase identifies your use case? GANS (Generative Adversarial Networks) - ANSWER-Typically, ML practitioners train models using different architectures, input data sets, hyperparameters, and hardware. What architectural type would you use for cyber-security, pattern recognition, self- driving cars, and reinforced learning? Geospatial analysis - ANSWER-Which BQ feature leverages geography data types and standard SQL geography functions to analyze a data set good value functions - ANSWER-You have a movie recommender system. The reward is the count of clicks. You want to train an agent to win a race. The reward is the negative value of the total time taken to run the race. Grid Search - ANSWER-Useful, if you want to specify a quantity of trials that is greater than the number of points in the feasible space? GRU(units) - ANSWER-What is the coding in Keras to build the hidden layer of a GRU (gated recurrent unit) model? Hashing - ANSWER- hashing - ANSWER-______ layer is not trainable Hidden, weights, positive, output, negative - ANSWER-Fill in the blanks: In the ____ layers, the lines are colored by the _____ of the connections between neurons. Blue shows a _____ weight, which means the network is using that ____ of the neuron as given. An orange line shows that the network is assigning a _____ weight. How much each feature impacts the model, expressed as a percentage - ANSWER- What does the Feature importance attribution in Vertex AI display? II, III, I, IV - ANSWER-What is the order of steps to push a trained model to AI Platform for serving? I - Run the command gcloud ai-platform versions create {model_version} to

Labels - ANSWER-In a supervised ML model, what provides historical data that can be used to predict future data Large language models - ANSWER-Transformers and BERT are examples of _________. Large in _______________ refers to both huge training datasets and many parameters. ___________ can be pre-trained for general purpose and then fine-tuned for specific tasks Linear regression metrics - ANSWER-MAE, MAPE, RMSE, RMSLE and R 2 are all available as test examples in the Evaluate section of Vertex AI and are common examples of what type of metric? Logistic regression - ANSWER-BigQuery supported classification models is most relevant for predicting binary results, such as True/False? Loss function - ANSWER-__________ measures how accurate the model is during training Machine Learning - ANSWER-AutoML, Vertex AI Workbench and TF align to which stage of the data-to-AI workflow? Make a huge difference in model quality - ANSWER-Setting hyperparameters to their optimal values for a given data set can __________ Managed Dataset in VertexAI - ANSWER-Data loaded into Vertex AI - whether it be from Google Cloud Storage orBigQuery. This means, for example, that it can be linked to a model. May lead to performance issues like insufficient computing power, it will increase the input size with longer training time for an ML model - ANSWER-What are the possible consequences for an ML model being trained with high resolution photos with high color depth? mean squared error as their loss function - ANSWER-What is the most essential metric a regression model uses? Measure the cosine similarity between the two items in an embedding space. Compute the inner product between the two items in an embedding space. Count how many features the two items have in common. - ANSWER-What are some potential techniques to determine how similar two items are? There could be more than one answer. ML.BUCKETIZE - ANSWER-________________ is a pre-processing function that creates buckets by returning a STRING as the bucket name after numerical_expression is split into buckets by array_split_points, : It bucketizes a continuous numerical feature into a string feature with bucket names as the value

ML.EVALUATE - ANSWER-The _____________ function can be used with linear regression, logistic regression, k-means, matrix factorization, and ARIMA-based time series models, The _____________ function evaluates the predicted values against the actual data, You can use the _____________ function to evaluate model metrics. ML.FEATURE_CROSS - ANSWER-________________ generates a STRUCT feature with all combinations of crossed categorical features except for 1-degree items. MOD(ABS(FARM_FINGERPRINT(field)),10) < 7 - ANSWER-Which command allows you to split your dataset to get 70% of it for training in a repeatable fashion? Model drift, model performance, model outliers and data quality - ANSWER-Moving from experimentation to production requires packaging, deploying and monitoring your model - which can give you confidence that your model is making useful predictions in production. Monitoring measures key model performance metrics and includes: Model Prototyping - ANSWER-Which process covers algorithm selection, model training, hyperparameter tuning and model evaluation in the experimentation and prototyping activity Model Training - ANSWER-Which stage of the ML workflow includes model evaluation model.predict() - ANSWER-What function can be used for a model to do prediction More complex ways of connecting layers, cambrian explosion of computing power to train, automatic feature extraction - ANSWER-What differentiates deep learning networks in multilayered networks? Multiple inputs and outputs and models with shared layers. - ANSWER-The Keras Function API can be characterized by having negative transfer learning - ANSWER-When knowledge is transferred from a less related source, the target performance might be degraded Numeric with meaningful magnitude, it should be known at prediction time, should be related to the objective - ANSWER-A good feature has what characteristics Numpy array of predictions - ANSWER-The predict function in the tf.keras API returns what? Observing how well a model performs against a new dataset that it hasn't seen before. - ANSWER-What is the best way to assess the quality of a model

Preprocessing function - ANSWER-Fill in the blank: The ______________ _______________ is the most important concept of tf.Transform. The ______________ _______________ is a logical description of a transformation of the dataset. The ______________ _______________ accepts and returns a dictionary of tensors, where a tensor means Tensor or 2D SparseTensor. preprocessing layers - ANSWER-image data augmentation, image preprocessing, numerical features preprocessing Problem definition > Data selection > Data exploration > Feature engineering > Model prototyping > Model validation - ANSWER-What is the correct process that data scientists use to develop the models on experimentation platform? Proportional to k, the number of dimensions in your embedding space. Proportional to the number of users - ANSWER-ALS and WALS create embedding tables for both users and items. Because these are held in memory, it's important to plan for their size. How big would you expect the embedding table for the users to be? Provides a TensorFlow Graph for preprocessing - ANSWER-What does tf.Transform do during the training and serving phase? Pub/Sub - ANSWER-Which google cloud product is distributed messaging service that is designed to ingest messages from multiple device streams such as gaming events, IoT devices and application streams? Recall - ANSWER-A hospital uses Google's machine learning technology to help pre- diagnose cancer by feeding historical patient medical data to the model. The goal is to identify as many potential cases as possible. Which metric should the model focus on? Recall - ANSWER-the faction of retrieved instances among all relevant instances Region, display-name, worker-pool-spec - ANSWER-Fill in the blanks. You can use either pre-built containers or custom containers to run training jobs. Both containers require you specify settings that Vertex AI needs to run your training code, including __________, ____________, and ________. Regression - ANSWER-To predict the continuous value of our label what algorithm should be used? Regression/Classification - ANSWER-If the business case is to predict fraud detection, which is the correct objective to choose in vertex AI? REINFORCE, proximal policy optimization (PPO), Deep deterministic policy gradient (DDPG) - ANSWER-You would like to train an agent to drive a car. The action space consists of the following variables: the acceleration (between 0 and 300), the angular

degree of turn or tilt (between 0 and 180 degrees), and the direction (either forward or reverse). Select the three algorithms which are appropriate. Credit is given for selecting the correct three. Runner - ANSWER-To run a pipeline you need something called a ________________. same padding and valid padding - ANSWER-what kind of padding methods are available in Keras? Sequence-to-sequence problems such as machine translation where you translate sentences to another language - ANSWER-What is the problem that an encoder- decoder mainly solves? sequential model - ANSWER-__________ is appropriate for a plain stack of layers where each layer has exactly one input tensor and one output tensor Speech API - ANSWER-The most efficient way to transcribe speech Static training - ANSWER-Which type of training do you use if your data set doesn't change over time? Storage and Analytics - ANSWER-What two services does BQ provide? Streaming (Pub/Sub), structured batch (BigQuery), unstructured batch (Cloud Storage) - ANSWER-Match the three types of data ingest with an appropriate source of training data. strides - ANSWER-_______ with a value greater than 1 will reduce the shape produced by the convolutional layer, ______ are the size of the step by which the filter slides across the input image Supervised learning, logistic regression - ANSWER-You want to use ML to identify whether an email is spam. Which should you use? Supervised Model - ANSWER-Machine learning model that has labels Tabular - ANSWER-If a dataset is presented in a Comma Separated Values (CSV) file, which is the correct data type to choose in Vertex AI? Tailoring the results of a search engine to a specific user. - ANSWER-In which of the following use cases is it recommended to go with a contextual bandit system? task.py - ANSWER-Which file is the entry point to your code that vertex AI will start and contains details such as how to parse command line arguments and where to write model outputs

They can be both reshaped and sliced - ANSWER-What operations can be performed on tensors To ensure that the models are good before moving them into a production/staging env - ANSWER-What is the responsibility of model evaluation and validation components To provide history and versions of your ML model - ANSWER-One major benefit of the Lineage tracking feature of AI Platform pipelines is: TPU (Tensor Processing Units) - ANSWER-Which Google hardware innovation tailors architecture to meet the computation needs on a domain such as the matrix multiplication in ML Training may take a long time - ANSWER-The learning rate is a hyperparameter that controls how much to change the model in response to the estimated error each time the model weights are updated. Choosing the learning rate is challenging. What can happen if the value is too small? Training operationalization - ANSWER-If the model needs to be repeatedly retrained in the future, an automated training pipeline is also developed. Which task do we use for this? Transformation - ANSWER-When you use the data to train a model, Vertex AI examines the source data type and feature values and infers how it will use that feature in model training. This is called the ________________for that feature translation API - ANSWER-Pre-built ML API used for language translations True - ANSWER-(T/F) Batch prediction is useful for making several prediction requests at the same time and is optimized to handle a high volume of instances in a job True - ANSWER-(T/F) Different problems in the same domain may need different features True - ANSWER-(T/F) In TensorFlow Playground, in the output layer, the dots are colored orange or blue depending on their original values. The background color shows what the network is predicting for a particular area. The intensity of the color shows how confident that prediction is. True - ANSWER-(T/F) In TensorFlow Playground, orange and blue are used throughout the visualization in slightly different ways, but in general orange shows negative values while blue shows positive values. True - ANSWER-(T/F) In the featurestore, the timestamps are an attribute of the feature values, not a separate resource type

True - ANSWER-(T/F) Larger batch size require smaller learning rates True - ANSWER-(T/F) MLOps, besides testing and validating code and components, also tests and validates data, data schemas, and models. True - ANSWER-(T/F) One of the goals of tf.Transform is to provide a TensorFlow graph for preprocessing that can be incorporated into the serving graph (and, optionally, the training graph). True - ANSWER-(T/F) One-hot encoding encodes the word to a vector where one corresponds to its position in the vocabulary and zeros to the rest. True - ANSWER-(T/F) TensorFlow is a scalable and multi platform programming interface for implementing and running machine learning algorithms, including convenience wrappers for deep learning True - ANSWER-(T/F) The way you deploy a TensorFlow model is different from how you deploy a PyTorch model, and even TensorFlow models might differ based on whether they were created using AutoML or by means of code. True or False: In the unified set of APIs that Vertex AI provides, you can treat all these models in the same way. True - ANSWER-(T/F) True or False: In TensorFlow Playground, the data points (represented by small circles) are initially colored orange or blue, which correspond to zero and negative one True - ANSWER-(T/F) Use BQ to process tabular data and Dataflow to process unstructured data True, Anything in Map or FlatMap can be parallelized by the Beam execution framework. - ANSWER-(T/F) The Filter method can be carried out in a parallel and autoscaled by the execution framework? Univariate, Bivariate - ANSWER-EDA is majorly performed using these methods Unreliable info, incomplete data, duplicated data - ANSWER-Features of low data quality Unsupervised learning, cluster analysis - ANSWER-You want to use machine learning to group random photos into similar groups what do you use? Use non-saturating, nonlinear activation functions such as ReLUs. - ANSWER-During the training process, each additional layer in your network can successively reduce signal vs. noise. How can we fix this?

When you have optimization or control problems where simulation trial and error is possible. - ANSWER-In which scenarios is reinforcement learning preferable over supervised learning? Workbench - ANSWER-Which VertexAI service lets you access data, process data in a Dataproc cluster, train a model, share results and more all without leaving the JupyterLab interface? XGBoost - ANSWER-For classification or regression problems with decision trees, which of the following models is most relevant? You should provide the BigQuery Data Editor role to the Vertex AI service account in that project. - ANSWER-What should be done if the source table is in a different project? Zero - ANSWER-How many learnable parameters does a pooling layer have