четверг, 10 августа 2017 г.

GCP exam questions, as far as I remember

  • General:
    Total questions : 50
    Two case studies : 20 questions
    CI/CD - 1
    Storage/Database - 15
    General google services - 3
    Appengine vs GKE vs GCE usage -
    Preemptible instances / AutoScaling  / Global network
    Monitoring / stackdriver  - 5

    Exam subjects:
    CI/CD:
    • The correct format of the template for cloud deployment  - yaml (+), jinja (+ )
    Storage:
    • Difference between storage tiers
    • Quite a bit questions that ask about what is the best storage / database to use for customer needs.
    • VM Disks difference, which is faster, which is more reliable

    GCE:
    • AutoScaling triggers
    • Connection between 2 GCP projects - sharing resources, vpn connections, vpc
    • Instance Tags for firewall
    • ELB question about difference between HTTP(S) and UDP TCP (one is regional and one is cross regional)
    • Preemptable instaces (VMs)  question - usage
    • Company wants to run their J2EE application, where is the best to deploy it?
    • GCE
    • GAE Standard / Flex
    • GKE
    • External IP addresses - reserving

    • Slow connection between on-prem and GCP - direct connect, multivpn,....
    • Network : global and spans different zones (regions contain zones)
    • Default firewall - allows alot. Custom firewall - everything is forbidden
    • Company X want move to cloud and they have X configurations on-prem. What is the best way to build their environment in the cloud?
    • Start with smallest VMs and scale up
    • Start with biggest VMs and scale down
    • Go to their on-prem, see their configuration and build similar in the cloud using custom VM conf
    • Estimate VMs (cpu, ram…) they will need and build costume VMs according to estimation
    • Tags

    Monitoring/Logging
    • Developers are not satisfied with logging of their application. What would you suggest to them?
    • Company wants monitor and debug. What stackdriver options will they need? And than you are presented with some real, not real options and some are real but not needed.

    DBs / BigData
    • Quite a bit questions that ask about what is the best storage / database to use for customer needs.
    • Company can’t tolerate ANY downtime at all. How do you copy their database
    from on-prem to google cloud?
    • Cloud SQL - Spanner - BigQuery ( understand the usage, according to the size of the project, company and amount of data)
    • Cloud SQL doesn’t work with private IP, only public (currently)
    • Developers know SQL but you need to operate with noSQL DB. What you use?
    • If you see Spark or / and Hadoop - the answer is Dataproc
    • 1-2 questions about Dataflow
    • IoT - weather station data streaming - Pub/sub or Dataflow
    • ColdLine, nearline, difference in prices, frequency and cost efficiency


    Security:
    • IAM roles and permissions difference
    • Company has DEV and Prod env. Split them into different projects, not accounts
    • Can you create account for GCP for a user, who has no gmail or g suite account
    • G suite and GCP connection - IAM usage


    Other services / General cloud knowledge:
    • Cloud DNS - the correct name and what it used for
    • Lables
    • People are complaining that news feed they see got all news marked as read.
      * INSERT PYTHON CODE*
      What could cause it?




    GKE & APP ENGINE - Coursera , course #4

    GKE
    • Master node…….. One and autom. Created in GKE
    • Full resource consumption - what to use to use 100% of resources  (containers)

    APP ENGINE:
    • Flex and standard env in GAE : difference in usage
    • Ability to run containers (GAE flex)
    • Opsless infrastructure - suggestions
    • “Need to run APP, written in specific ver. Of PHP without rolling VM’s” (GAE flex)

Комментариев нет:

Отправить комментарий

Bash: MySql backup (file per db), restore+ users and privileges

Backup Mysql DB (file per db) #!/bin/bash USER="root" databases=`mysql -u $USER -e "SHOW DATABASES;" | tr -d "|...