Oracle Cloud Infrastructure Developer 2020 Associate v1.0 (1z0-1084-20)

Page:    1 / 4   
Total 60 questions

You are building a cloud native, serverless travel application with multiple Oracle Functions in Java, Python and Node.js. You need to build and deploy these functions to a single application named travel-app.
Which command will help you complete this task successfully? (Choose the best answer.)

  • A. oci fn function deploy """"app travel""app """"all
  • B. fn deploy """"app travel""app """"all
  • C. oci fn application """"application""name travel""app deploy """"all
  • D. fn function deploy """"all """"application""name travel""app


Answer : B

Reference:
https://blogs.oracle.com/developers/oracle-functions:-serverless-on-oracle-cloud-developers-guide-to-getting-started-quickly

A developer using Oracle Cloud Infrastructure (OCI) API Gateway must authenticate the API requests to their web application. The authentication process must be implemented using a custom scheme which accepts string parameters from the API caller.
Which method can the developer use in this scenario? (Choose the best answer.)

  • A. Create an authorizer function using request header authorization.
  • B. Create an authorizer function using token-based authorization.
  • C. Create a cross account functions authorizer.
  • D. Create an authorizer function using OCI Identity and Access Management based authentication.


Answer : A

Your Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) administrator has created an OKE cluster with one node pool in a public subnet. You have been asked to provide a log file from one of the nodes for troubleshooting purpose.
Which step should you take to obtain the log file? (Choose the best answer.)

  • A. ssh into the node using public key.
  • B. ssh into the nodes using private key.
  • C. It is impossible since OKE is a managed Kubernetes service.
  • D. Use the username opc and password to login.


Answer : D

Reference:
https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/oke-full/index.html

You have been asked to create a stateful application deployed in Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE) that requires all of your worker nodes to mount and write data to persistent volumes.
Which two OCI storage services should you use? (Choose two.)

  • A. Use OCI File Services as persistent volume.
  • B. Use GlusterFS as persistent volume.
  • C. Use OCI Block Volume backed persistent volume.
  • D. Use open source storage solutions on top of OCI.
  • E. Use OCI Object Storage as persistent volume.


Answer : AC

As a cloud-native developer, you are designing an application that depends on Oracle Cloud Infrastructure (OCI) Object Storage wherever the application is running. Therefore, provisioning of storage buckets should be part of your Kubernetes deployment process for the application.
Which should you leverage to meet this requirement? (Choose the best answer.)

  • A. OCI Service Broker for Kubernetes
  • B. OCI Container Engine for Kubernetes
  • C. Open Service Broker API
  • D. Oracle Functions


Answer : A

Reference:
https://blogs.oracle.com/cloud-infrastructure/introducing-service-broker-for-kubernetes

You are implementing logging in your services that will be running in Oracle Cloud Infrastructure Container Engine for Kubernetes.
Which statement describes the appropriate logging approach? (Choose the best answer.)

  • A. Each service logs to its own log file.
  • B. All services log to an external logging system.
  • C. All services log to standard output only.
  • D. All services log to a shared log file.


Answer : C

Reference:
https://dzone.com/articles/5-best-security-practices-for-kubernetes-and-oracle-kubernetes-engine



Which concept is NOT -
related to Oracle Cloud Infrastructure Resource Manager? (Choose the best answer.)

  • A. Job
  • B. Stack
  • C. Queue
  • D. Plan


Answer : C

Reference:
https://docs.cloud.oracle.com/en-us/iaas/Content/ResourceManager/Concepts/resourcemanager.htm

Your organization uses a federated identity provider to login to your Oracle Cloud Infrastructure (OCI) environment. As a developer, you are writing a script to automate some operation and want to use OCI CLI to do that. Your security team doesn"™t allow storing private keys on local machines.
How can you authenticate with OCI CLI? (Choose the best answer.)

  • A. Run oci setup keys and provide your credentials
  • B. Run oci session refresh """"profile <profile_name>
  • C. Run oci session authenticate and provide your credentials
  • D. Run oci setup oci""cli""rc """"file path/to/target/file


Answer : C

Reference:
https://blogs.oracle.com/cloud-infrastructure/enabling-any-federated-user-to-invoke-the-oracle-cloud-infrastructure-sdk-and-cli

You are developing a serverless application with Oracle Functions. You have created a function in compartment named prod. When you try to invoke your function you get the following error:


How can you resolve this error? (Choose the best answer.)

  • A. Create a policy: Allow function-family to use virtual-network-family in compartment prod
  • B. Create a policy: Allow any-user to manage function-family and virtual-network-family in compartment prod
  • C. Create a policy: Allow service FaaS to use virtual-network-family in compartment prod
  • D. Deleting the function and redeploying it will fix the problem


Answer : C

Reference:
https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionscreatingpolicies.htm#faas-policy-on-network

Which one of the statements describes a service aggregator pattern? (Choose the best answer.)

  • A. It is implemented in each service separately and uses a streaming service
  • B. It involves implementing a separate service that makes multiple calls to other backend services
  • C. It uses a queue on both sides of the service communication
  • D. It involves sending events through a message broker


Answer : B

Reference:
https://medium.com/@madhukaudantha/microservice-architecture-and-design-patterns-for-microservices-e0e5013fd58a

Which two handle Oracle Functions authentication automatically? (Choose two.)

  • A. Oracle Cloud Infrastructure SDK
  • B. cURL
  • C. Oracle Cloud Infrastructure CLI
  • D. Signed HTTP Request
  • E. Fn Project CLI


Answer : AE

Reference:
https://blogs.oracle.com/developers/oracle-functions-invoking-functions-automatically-with-cloud-events

You have written a Node.js function and deployed it to Oracle Functions. Next, you need to call this function from a microservice written in Java deployed on
Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE).
Which can help you to achieve this? (Choose the best answer.)

  • A. Use the OCI CLI with kubectl to invoke the function from the microservice.
  • B. Oracle Functions does not allow a microservice deployed on OKE to invoke a function.
  • C. OKE does not allow a microservice to invoke a function from Oracle Functions.
  • D. Use the OCI Java SDK to invoke the function from the microservice.


Answer : D

How do you perform a rolling update in Kubernetes? (Choose the best answer.)

  • A. kubectl rolling-update
  • B. kubectl upgrade <deployment-name> """"image=image:v2
  • C. kubectl update ""c <container>
  • D. kubectl rolling-update <deployment-name> """"image=image:v2


Answer : D

In the sample Kubernetes manifest file below, what annotations should you add to create a private load balancer in Oracle Cloud Infrastructure Container Engine for Kubernetes? (Choose the best answer.)


  • A. service.beta.kubernetes.io/oci-load-balancer-private:"true"
  • B. service.beta.kubernetes.io/oci-load-balancer-private: "true" service.beta.kubernetes.io/oci-load-balancer-subnet1: "ocid1.subnet.oc1..aaaaa....vdfw"
  • C. service.beta.kubernetes.io/oci-load-balancer-internal: "true"
  • D. service.beta.kubernetes.io/oci-load-balancer-internal: "true" service.beta.kubernetes.io/oci-load-balancer-subnet1: "ocid1.subnet.oc1..aaaaa....vdfw"


Answer : D

Reference:
https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengcreatingloadbalancer.htm

You have created a repository in Oracle Cloud Infrastructure Registry in the us-ashburn-1 (iad) region in your tenancy with a namespace called "heyoci".
Which three are valid tags for an image named "myapp"? (Choose three.)

  • A. iad.ocir.io/heyoci/myproject/myapp:0.0.1
  • B. us-ashburn-1.ocir.io/heyoci/myapp:0.0.2-beta
  • C. us-ashburn-1.ocir.io/heyoci/myproject/myapp:0.0.2-beta
  • D. us-ashburn-1.ocir.io/myproject/heyoci/myapp:latest
  • E. iad.ocir.io/myproject/heyoci/myapp:latest
  • F. iad.ocir.io/heyoci/myapp:0.0.2-beta
  • G. iad.ocir.io/heyoci/myapp:latest


Answer : AFG

Page:    1 / 4   
Total 60 questions