Question:- How are the Google Compute Engine and Google App Engine related?
Answer:- This typical and straightforward question is a part of the frequently asked Google Cloud Platform interview questions and answers, and can be answered like this. Google Compute Engine and Google App Engine are complementary to each other. Google Compute Engine is the IaaS product whereas Google App Engine is a PaaS product of Google. Google App Engine is generally used to run web-based applications, mobile backends, and line of business. If you want to keep the underlying infrastructure in more of your control, then Compute Engine is a perfect choice. For instance, you can use Compute Engine for the implementation of customized business logic or in case, you need to run your own storage system.
Question:- How does the pricing model work in GCP cloud?
Answer:- While working on Google Cloud Platform, the user is charged on the basis of compute instance, network use, and storage by Google Compute Engine. Google Cloud charges virtual machines on the basis of per second with the limit of minimum of 1 minute. Then, the cost of storage is charged on the basis of the amount of data that you store. The cost of the network is calculated as per the amount of data that has been transferred between the virtual machine instances communicating with each other over the network. You should prepare yourself with the questions on Google Cloud Platform pricing models as these are among the most common Google Cloud interview questions.
Question:- What are the different methods for the authentication of Google Compute Engine API?
Answer:- his is one of the popular Google Cloud architect interview questions which can be answered as follows. There are different methods for the authentication of Google Compute Engine API: • Using OAuth 2.0 • Through client library • Directly with an access token
Question:- What are the service accounts? How will you create one?
Answer:- This is one of the most common Google Cloud interview questions and the detailed answer to it can be given this way. The special accounts related to a project are known as the Service Accounts. The service accounts are used for the authorization of Google Compute Engine so that it could perform on behalf of the user and thus could access non-sensitive data and information. These accounts generally simplify the authentication process from Google Cloud Engine to the other services through handling the process of authorization for the user. It is required to mention that service accounts are not used in order to access the information of the user. There are various types of service accounts offered by Google but mainly, users prefer to use two types of service accounts, these are – Google Cloud Platform Console service accounts Google Compute Engine service accounts The user doesn’t need to create a service account manually. It is automatically created by the Compute Engine whenever a new instance is created. Google Compute Engine also specifies the scope of the service account for that particular instance when it is created.
Question:- What do you know about Projects?
Answer:- This is one of the most common Google Cloud interview questions. This typical and straightforward question is a part of the frequently asked Google cloud engineer interview questions and can be answered this way. The projects are the containers for the resources of Google Compute Engine. The main points about the projects are – • The projects comprise the world of compartments • The projects are not meant for resource sharing • The projects may have different users and owners • The billing for all the projects is done separately • The projects are no more accessible to each other
Question:- How will you create a Project?
Answer:- One needs to follow the below-mentioned steps for creating a Project – • Go to the Google Cloud Platform Console • Once prompted, create a new project or select an existing project • In order to set up billing, follow the prompts. Remember, if you are new to the Google Cloud Platform, you can use your free trial credit to make the payment for your instance.
Question:- How will you differentiate a Project Id and Project Number?
Answer:- There are two parameters to identify a project, one is the project id and another one is the project number. The two can be differentiated as follows – Whenever a new project is created, the project number for that is created automatically whereas the project number is created by the user himself. The project number is compulsory and mandatory while the project id can be optional for may services (but it is a must for the Google Compute Engine).
Question:- How will you request more quota for your project?
Answer:- Some default quotas are provided to all the Google Compute Engine projects for various types of resources. The quotas can also be increased on the basis of per-project. One can check the quota limits for the project on the quota page on the Google Cloud Platform Console. In case, you find that you have reached the quota limit for your resources, and you want to increase the quota, then you can make a request to get more quota for some specific resources using IAM quotas page. You can request more quota directly through the Edit Quotas button on the top of the page. Whether you are going for the Google Cloud Architect or Google Cloud Consultant interview, you may come across this type of Google Cloud interview questions. So, prepare yourself very well to crack the interview.
Question:- Suppose you have deleted your instance by mistake. Will you be able to retrieve it back? If yes, how?
Answer:- It is a very simple question but based on the deep understanding of the Google cloud platform. This is among best Google Cloud Platform interview questions that can be answered in the following way. No, it is not possible to retrieve the instances that have been deleted once. If it has been stopped, it can be retrieved back by simply starting it again.
Question:- What is Google BigQuery? What are the benefits of BigQuery for the data warehouse practitioners?
Answer:- Google BigQuery is a replacement of the hardware setup for the traditional data warehouse. It is used as a data warehouse and thus, acts as a collective store for all the analytical data in an organization. Also, the BigQuery organizes the data table into the units that are known as datasets.
Question:- What do you know about Google Cloud SDK?
Answer:- Google Cloud SDK (Software Development Kit), in simple terms, is a set of tools that are used to manage applications and resources that are hosted on the Google Cloud Platform. It is composed of the gsutil, gcloud, and bqcommand line tools. The gcloudtool is automatically downloaded with the Cloud SDK. There are some prerequisites or the system requirements for the installation of Google Cloud SDK. Google Cloud SDK run on specific platforms – Windows, Linux, and macOS and requires Python 2.7.x. Some specific tools in the Google Cloud SDK may have additional requirements such as Java tools used for the development of Google App Engine requires Java 1.7 or the later one.
Question:- What are the different installation options for the Google Cloud SDK?
Answer:- There are four different methods for the installation of the Google Cloud SDK. As per the requirement, the user can opt for any of the followings to install Google Cloud Software Development Kit. • Using Cloud SDK with scripts or continuous integration or continuous deployment – in this case, the user can install google cloud SDK by downloading a versioned archive for a non-interactive installation of a specific version of Cloud SDK. • By running Red Hat Enterprise Linux 7/CentOS 7 – YUM is used to get the latest released version of the Google Cloud SDK in the package format. • Through running Ubuntu/Debian – APT-GET is used to get the latest released version of the Google Cloud SDK in the package format. • For all the other use cases, the user can run the interactive installer to install the latest version of the Google Cloud SDK.
Question:- What are the Google Cloud APIs? How can you access them?
Answer:- As an important part of the Google Cloud Platform, Google Cloud APIs questions covers a section of the frequently asked Google Cloud interview questions. Get familiar with the basics and you will be all prepared for the interview. Allow users to add the power of everything to your Google Cloud-based application, and thats in the easiest manner. APIs can add power to everything from storage access to the image analysis that is based on machine learning. --- Accessing Google Cloud APIs One can easily access Cloud APIs with the client libraries from the server applications. You can use a number of programming languages to access Google Cloud APIs, by using mobile applications via Firebase SDKs or through the third-party clients. Google Cloud APIs can also be accessed through Google Cloud Platform Console Web UI or Google SDK command line tools.
Question:- How will you view your transaction history in the Google Cloud Platform?
Answer:- Whatever is the job role, costing, payment, transaction are the common terms which form a part of the Google Cloud interview questions. The detailed step-wise answer to this type of GCP interview questions can be given like this. There are following steps to view the transaction history in the Google Cloud Platform – 1. Sign in to the Google Cloud Platform Console. 2. Go to the left side menu in the console and select Billing. 3. Select Go to linked billing account in case you have more than one billing account in order to manage the billing of the current project. If you want to check to bill for a different account, select Manage billing accounts. 4. Go to the Transactions. 5. Note that by default, you will have the view of the past 3 months’ transactions in the Transactions. To perform one of the following actions, you can use the toggle on the page – Viewing account history by the transaction type –Click All Transactions and you can sort the transactions on the basis of Costs, Adjustments, Earnings, and Taxes. Viewing transaction history in summary or detailed view –You can find all the activities of your account billing in the Detailed view. And the transactions are grouped by the type in the Summary view so that you can have a quick view of the payments, costs, and adjustments. Changing the data range –In this view, the user can select any pre-defined range like the previous month, this year, or Custom Data Range to set a range.
