GCP Cloud Project Related Interview Questions - Real time Questions for Google Cloud
Project Related:
1.Can you explain the project hierarchies in google cloud.
2. How are organizations different from Folders?
- Organizations are company accounts,
- Whereas folders are grouping of the projects or other folders.
3. Why do we need projects ? and what's the main intention of creating a projects for your applications?
- We need projects for managing resources
- Enable permissions to their respective principal (IAM accounts)
We can track billing per project based on the resources used.
We can distinguish between environments.
Can i restrict resource usage in the project
By enabling or disabling services api's
4. Have you ever implemented Folders in your project, if so what's the use case.
We are using folders to combine all the separate environments.
We do this because we want developers to have access to all the dev projects.
Instead of giving them the access at the individual project level, we combined them into a folder and provided access at the folder level.
5. If i am having a project in folder-a, can i move the project to folder-b? If yes, then what things I need to consider.
We can move from folders a to folder b, we need check the permissions and resource quota, check the billing part.
6. What are the identifiers that get generated when you are creating a project?
o Myself i have created many projects for different applications.
o When we create a project, We get 3 identifiers and those are
Project ID
Will be unique access GCP, and it will automatically be generated
Project Number:
Is automatically generated and is unique across GCP
Project Name:
I kept them based on the requirement,
Basically we have projectname-env
7. Let's say you have mistakenly created a project-name, can this be changed in the later stage.
Yes we can change project name even after creation.
8. Can I have 2 projects with the same name under the organisation?
We can, but we can differentiate them with Project ID.
9. Can i change projectID and Project Number after its created.
No, we cant change Project ID and number once they are created
But, during the project creation, i can keep the project id based on my requiretn, this is the only time project id can be changed.
10. I want to make my own project number, is it possible?
No, project number will be given by Google after creation of project is successful.
11. Can a principal(user) having access to organisations?
Yes, he / she can have based his job role in his company
12. Does the organisation have an ID?
Yes, we will be having an org id for each organization.
13. What happens to the resources when we delete the project?
yes, it will delete all the resources